Teleport failed due to an unexpected error [Error Code: 769] When I tried to teleport to a reserve server

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I was trying to teleport to another place’s reserve server using TeleportToPrivateServer

  2. What is the issue? Include screenshots / videos if possible!
    an error occurred when I tried to teleport
    image

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I tried searching on the internet but I can’t find anything related to it

This is my script

local TS = game:GetService("TeleportService")

game.ReplicatedStorage:WaitForChild("GiveCode").OnClientEvent:Connect(function(ID, code)
	TS:TeleportToPrivateServer(ID,code,{game.Players.LocalPlayer})
	end)
end)

I spent hours trying to fix this but nothing changed. I hope you guys can help me

Thanks

2 Likes

Sorry it’s just my dumb brain putting in the wrong variable