Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local TeleportService = game:GetService("TeleportService")
- local destinationGameId = 79962156072161
- local function teleportAllPlayers()
- for _, player in pairs(game.Players:GetPlayers()) do
- TeleportService:Teleport(destinationGameId, player)
- end
- end
- -- Example: Teleport all players when a specific event occurs
- -- You can replace this with any event or condition you want
- teleportAllPlayers()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement