This code is supposed to teleport PlayersToTeleport (which is a table) to a server. However, I'm getting a HTTP 403 error on the line where "code" is assigned. How can I avoid this? (HTTP and API are enabled)
local TS = game:GetService("TeleportService")
local code = TS:ReserveServer(4830926172)
local success, result = pcall(function()
return TS:TeleportToPrivateServer(4830926172, code, PlayersToTeleport)
end)

1 comment
I made it a place and it's still not working.