Me and my friend are on the same private server. When teleporting to another place, why does it go to a different server?
I want my friend and I to be on the same server in a private server.
script.Parent.Destroyer.OnServerEvent:Connect(function(plr)
local TeleportService = game:GetService(“TeleportService”)
local placeId = 17403700675
if game.PrivateServerId ~= “” then
local code = TeleportService:ReserveServer(placeId)
TeleportService:TeleportToPrivateServer(placeId,code,{plr})
else
TeleportService:Teleport(placeId, plr)
end
end)