Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I get and use the teleport code of a private server? (Solved)

In a game that I have been working on, I've created a script that would teleport a group of players to a new server all together where they can complete a group objective, but if players tried to join while a server was running, they would be dropped into the same server as the first group. The answer I found is to use a reserved server, but I don't know how to get the reserved server's id to teleport the players to it. I tried to incorporate what I saw of it into the script but I'm a little confused still on how it works. Here is the script that I'm trying to make teleport players to a reserved server, any help on the matter is very much appreciated.
local TeleportService = game:GetService("TeleportService")
local dest = TeleportService:ReserveServer(2302501914)
TeleportService:TeleportToPrivateServer(dest, party)

2 answers

are you trying to do it like in notoriety by brick_man?

It's just not possible

1 comment

0

I figured it out, you just gotta put the reserve server code before the player code, so it is possible.

This discussion is preserved as it was. New answers, comments, and votes are closed.