Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Get the game ID from the URL
- local gameId = "4462209656"
- -- Get the teleport service
- local teleportService = game:GetService("TeleportService")
- -- Get the place teleport URL
- local placeTeleportUrl = "https://www.roblox.com/games/" .. gameId
- -- Get the game's spawn point
- local spawnPoint = game.Workspace:FindFirstChild("SpawnPoint")
- -- Teleport all players to the spawn point
- for _, player in pairs(game.Players:GetPlayers()) do
- teleportService:Teleport(placeTeleportUrl, spawnPoint, player)
- end
- -- themightycta
Advertisement
Add Comment
Please, Sign In to add comment