local TeleportService = game:GetService("TeleportService") local destinationGameId = 14731675668-- 77654415457551 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()