I've tried to make a script that teleport groups of people to a different game, Doesn't work.
for i = 1, 5 do -- Countdown wait(0.5) print(i) end local bruh = game:GetService("TeleportService"):ReserveServer(3271046192) for i, Players in pairs(game.Players:GetPlayers()) do local Success, Fail = pcall(function() game:GetService("TeleportService"):TeleportToPrivateServer(3271046192, bruh, {Players}) end) if Success then print("Worked") end if Fail then print("Dang") end end
Try making the Countdown higher:
for i = 1, 300 do -- Countdown wait(0.5) print(i) end local bruh = game:GetService("TeleportService"):ReserveServer(3271046192) for i, Players in pairs(game.Players:GetPlayers()) do local Success, Fail = pcall(function() game:GetService("TeleportService"):TeleportToPrivateServer(3271046192, bruh, {Players}) end) if Success then print("Worked") end if Fail then print("Dang") end end