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)
ah i see the error 403 means you dont have access to something make sure the place is not a separate game that it is a multi place game because if this would work when you would not have access you would be able to create a solo server in any game if you use normal teleport you can be teleported to any game!