Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to teleport players to a NEW server and not a open server?

Asked by 4 years ago

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)


0
Use ReserveServer and TeleportToPrivateServer. YaoYN 0 — 4y

Answer this question