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
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
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.
1 comment
you problobly need maps, so maybe game.Players.Workspace = Map 1