Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Teleport players to dif locations?

How would I go about making a player tele to a map all in different spots?

ik about moveto and everything just how do I identify each player and teleport them?

2 comments

0

To teleport, edit the Torso CFrame or position of a player.

0

yea ik, but how to get each individual player?

1 answer

You can loop through every single player in the game by doing the following:

for _,plr in pairs (game.Players:GetPlayers()) do
	plr.Character.Torso.CFrame = CFrame.new(Vector3.new(0,100,0)) -- code, etc.
end

Hope I helped! If you need any help with teleporting the player, ask!

~TDP

This discussion is preserved as it was. New answers, comments, and votes are closed.