Teleport to Private servers (purchasable ones)

I have checked posts about this and none of them turn up any answers. I am wondering if there is a way to teleport peopleto a private server that was purchased, if they are invited of course. If so, how would I get the parameters to teleport the person there?

1 Like

I think you could use TeleportService

I don’t believe this is possible as Reserved Servers and Private Servers are completely different

I myself have been working on a game known as Zero Hour and within the game there is a server system that I have created that uses private servers by Reserving a private server code.

All you really need to do is this:

local Player = game.Players.LocalPlayer
local TeleportService = game:GetService("TeleportService")
local ReservedCode = TeleportService:ReserveServer(game.PlaceId)

TeleportService:TeleportToPrivateServer(game.PlaceId, ReservedCode, {Player})