Hi, I wanna make a game like break-in but I issue is that when I do my teleporting script it teleports all the players to an already open server, I wanna teleport them to a new server and not allow anyone else to join How would I do this?
Code:
Players = game:GetService("Players") for i, player in pairs(Players:GetPlayers()) do if script.Parent.Parent.Parent.In.Value == true then -- Checks to see if they are next to be teleported. local TeleportService = game:GetService("TeleportService") local Place = 4822839179 local player = game.Players.LocalPlayer TeleportService:Teleport(Place, player)