I'm making a game and im sending people to a separate place within my game. It's a reserved Server so only the people I send will be able to join. Whenever I test it out in Game(Not studio mode) it always pulls up with "Teleport Failed to an unexpected error.(Error Code:769)" Please Help.
local tpService = game:GetService("TeleportService")
local place = (Im not Showing This)
script.Parent.Touched:Connect(function(hit)
local code = tpService:ReserveServer(game.PlaceId)
local player = game.Players:GetChildren()
if player then
tpService:TeleportToPrivateServer(place,code,player,"StartSpawn",nil,nil)
end
end)

2 comments
What just happened to the views XD
Are you trying to create a private server in a new game or the current game?