1
How to teleport an entity to a player with the same score as it?
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!
Create an account or sign in to comment.
2
2
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
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
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.