I have this code that teleports players to another place inside my experience, but Iām not sure how to make it so that each time this code runs it teleports the players to their own private server that no one else can join?
local tpOptions = Instance.new("TeleportOptions")
tpOptions.ShouldReserveServer = true
tps:TeleportPartyAsync(placeId, playersToTP, tpOptions)
Basically I have a party create system where players can create parties of up to 5 people and then when they click play, are teleported to a place together. But I dont want them joining an existing server or a server that other players can join
local teleportOptions = Instance.new("TeleportOptions")
teleportOptions.ShouldReserveServer = true -- It will reserve reserved(private) server
local PlaceID = 1234 -- Your place id
local listofplrs = {} -- List of players to teleport
game:GetService('TeleportService'):TeleportAsync(PlaceID,listofplrs,teleportOptions) -- teleport players