Trying to get another player on touch to teleport to a one player reserved server.
here is my code.

though on touch it wont do anything.
I even tried making another place. if the place id was the problem.
Trying to get another player on touch to teleport to a one player reserved server.
here is my code.

though on touch it wont do anything.
I even tried making another place. if the place id was the problem.
:TeleportToPrivateServer requires an array of players, even if you plan on just teleporting one. To my understanding you’re trying to get the player who touched a part and teleport only them to the private server.
Try this, let me know if you’re still having issues.
local player = game:GetService("Players")
local tp = game:GetService("TeleportService")
local function teleportPlayer(hit)
local possiblePlayer = hit.Parent
if game.Players:FindFirstChild(possiblePlayer.Name) then
local reservedServer = tp:ReserveServer(9032365089)
tp:TeleportToPrivateServer(9032365089, reservedServer, {possiblePlayer})
end
end
script.Parent.Touched:Connect(teleportPlayer)
I’d also recommend adding a debounce in there somewhere if possible.