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

How do you teleport players?

1 answer

To teleport a player, simply CFrame their torso.

local player = "Goulstem"

workspace[player].Torso.CFrame = CFrame.new(0,100,0)

To teleport multiple players, iterate through them all and CFrame their torsos

for _,v in next,game.Players:GetPlayers()
	v.Character.Torso.CFrame = CFrame.new(0,100,0)
end

1 comment

0

rather than a position such as 100, just use the position of the part in the map + 5 or the y valu

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