I am trying to make thing that gathers a bunch of players and sends them to a private server, But every single time the code try to send them I get an error message. HTTP 400 Bad Request
local tab = {}
for _, peep in pairs(people:GetChildren()) do
local player = game.Players:FindFirstChild(peep.Name)
if player then
table.insert(tab, player)
end
end
local code = TS:ReserveServer(5833037391)
TS:TeleportToPrivateServer(5833037391,code,tab)
I need a server that no one else from the outside can join would this work for this? Also TeleportToPrivateServer does support teleporting multiple people according to the dev forum here
According to the API documentation for TeleportToPrivateServer:
This service does not work during playtesting in Roblox Studio — To test aspects of your game using it, you must publish the game and play it in the Roblox application.