1

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

HappyHippo77's Avatar HappyHippo7710/13/18 9:49 pm
1 emeralds 258 2
10/19/2018 4:19 pm
HappyHippo77's Avatar HappyHippo77
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 HappyHippo77's Avatar
HappyHippo77
Level 45 : Master Ninja
23

Create an account or sign in to comment.

2

2
10/17/2018 10:08 pm
Level 16 : Journeyman Engineer
Cadermate
Cadermate's 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 45 : Master Ninja
HappyHippo77
HappyHippo77's 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.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome