the player always teleports to the same place in survival what could be wrong?
Code:
/survival:
trigger:
if player is in world "Survival":
send "&6you are in survival" to player
else:
teleport player to {survival::%player's uuid%}
command /lobby:
trigger:
teleport player to location at 0, 5, 100006 in world "Server"
if world is "Survival":
set {survival::%player's uuid%} to location of player
teleport player to location at 0, 5, 100006 in world "Server"