forum Forumsplay_arrow Minecraft fiber_manual_record Redstone

1

How to teleport an entity to a player with the same score as it?

1 emerald2 replies75 views
created 10/13/2018 9:49 pm by HappyHippo77
last reply 10/19/2018 4:19 pm
So uhhh trying to fix a bug in the Naruto Data Pack, and the best thing I could do would be to teleport an entity to a player with the same score as it. What is the best way to do this, if it is even possible in the first place? The only credential is that it is multiplayer friendly. Thanks in advance!
Posted by avatar
HappyHippo77
Level 24 : Expert Ninja
3

2 replies

1
10/17/2018 10:08 pm
Level 9 Apprentice Engineer
Cadermate
avatar
Easy game:

execute as @a at @e if score @a[limit=1] (Insert Score Here) = @e[limit=1,sort=nearest] (Insert Score Here) run tp @e[sort=nearest,limit=1] @s
1
10/19/2018 4:19 pm
Level 24 Expert Ninja
HappyHippo77
avatar
Hmm okay, this is the method I was already using, I suppose there isn't a better way to do it. Thanks for the help all the same.

Search

Browse

Site

© 2010 - 2018
planetminecraft.com

Welcome