I'm trying to make a script that teleports people to a certain co-ordinate, but every time I load the game it continuously teleports players to the exact same location. Please could someone help me?
players = game.Players:GetChildren() repeat wait() until game.Players.NumPlayers > 1 for teleporting = 1, #players do wait() toMove = players[teleporting].Character.Torso toMove.CFrame = CFrame.new(math.random(5,20), 75,math.random(165,175)) end