1 2 3 4 5 6 7 8 9
function HandleSpawnCommand(Split, Player) World = Player:GetWorld() SetBackCoordinates(Player) Player:TeleportToCoords(World:GetSpawnX(), World:GetSpawnY(), World:GetSpawnZ()) SendMessageSuccess( Player, "Returned to world spawn" ) return true end