#tp

1 messages · Page 1 of 1 (latest)

median owl
#

how can I teleport to the nearest player and have them teleport to my position when the function was launched

summon armor_stand ~~~
execute as @p[rm=0.1,r=20,c=1] at @p[rm=0.1,r=20,c=1] run summon armor_stand ~~~
tp @s @e[r=30,type=armor_stand]
tp @p[rm=0.1,r=30] @e[rm=0.1,r=30,type=armor_stand]
tellraw @s {"rawtext":[{"text":"§f[§9PVP BOX§f] §6Vous avez actionné votre item"}]}
kill @e[type=armor_stand]

its my version who doesn't work

hallow remnant
#

Summon two armor_stands with differents names (ex: p1, p2) at the positions of the two players and tp player one at armor_stand p2 and player 2 at armor_stand p1 and kill the armor_stands

brave cradle
#

I did something like this with look detection and swapping places. Maybe this example will help you out.