Hi so i am making someone a skript so when they rtp they will do it to a specific world but i dont know how to make it so the survival world when they will tp back lets say /backtoworld to get teleported to the exact location something like
}
but i dont know how to make it per world and i dont want to use 2 different skripts
YAML:
on quit:
set {LastLocation.%player%} to location of player
on join:
teleport player to {LastLocation.%player%
but i dont know how to make it per world and i dont want to use 2 different skripts