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

how do you teleport all players to another game?

I have an intermission script and when it reaches zero it teleports you to another game here is the script I found nothing on the wiki and etc

game:GetService('TeleportService'):Teleport(2049349140, game.Players.> what do I put here< ) ? please help

1 comment

0

you problobly need maps, so maybe game.Players.Workspace = Map 1

1 answer

✓ Accepted answer

Use a generic for loop to run through the players and teleport each player in it.

for _,v in pairs(game.Players:GetPlayers()) do
	game:GetService('TeleportService'):Teleport(2049349140, v)
end

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