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

How do I teleport players into a map from the lobby?

What I know about scripting, 0%. So I am learning it. I am making a game and I need to let the players teleport into the map. Please answer!

1 answer

Wait (30)
target = CFrame.new(0, 50, 0) --could be near a brick or in a new area
for i, player in ipairs(game.Players:GetChildren()) do
	player.Character.Torso.CFrame = target + Vector3.new(0, i * 5, 0)
	--add an offset of 5 for each character
end

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