I have this error for this script
Players.PlayerAdded:Connect(function(player)
local code = ServerAccessCodes:GetAsync(player.UserId)
print(code)
TeleportService:TeleportToPrivateServer(game.PlaceId, code, {player})
end)
I think because the private server Id is the Id of another place ?