New: Nitro Boost our Discord server and receive full donation perks here on the website! Join the Scripting Helpers Discord Server to learn more! You can also Support on Patreon as always.
Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

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

Asked by 14 days 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 — 14d

Answer this question