You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I was trying to teleport to another place’s reserve server using TeleportToPrivateServer -
What is the issue? Include screenshots / videos if possible!
an error occurred when I tried to teleport
-
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