After running this block of code:
local PLAYERS = {} if PLR1VALUE.Value ~= nil and PLR2VALUE.Value ~= nil then table.insert(PLAYERS, PLR1VALUE.Value) table.insert(PLAYERS, PLR2VALUE.Value) end if PLR1VALUE.Value ~= nil and PLR2VALUE.Value ~= nil then local TS = game:GetService("TeleportService") local code = TS:ReserveServer(1431950426) print("Success") TS:TeleportToPrivateServer(game.PlaceId,code,PLAYERS) end
I get: Teleport exception: HTTP 400 (HTTP/1.1 400 Bad Request)
PLR1VALUE and PLR2VALUE are objectValues with the player inside of them, this error breaks my game and so far after searching google I still can't find an answer- the places are in the same game and they're both active, HTTP services are enabled- not sure what's causing this error.
note: "Success" does not print.
Well, there are two possiblities for this:
1.) The game you want to teleport to is not active. You need to make this game active.
If that doesn't work, then try option 2:
Turn on HTTPS Requests
I think it's the first one, though.
If this helped, please accept the answer so we both get reputation