-
What do you want to achieve? Keep it simple and clear!
I’m currently trying to achieve a teleport system. -
What is the issue? Include screenshots / videos if possible!
My issue is that when I try to teleport my players, I get a error saying ‘HTTP 400 Bad Request’ On line 101, which is the reserve server line.
local dragPlayer = {}
local Children = server.Players:GetChildren()
for i, child in ipairs(Children) do
if child:IsA("StringValue") then
local realPlayer = game.Players:FindFirstChild(child.Value)
table.insert(dragPlayer, realPlayer)
end
end
print(unpack(dragPlayer))
local TeleportService = game:GetService"TeleportService"
local reserve = TeleportService:ReserveServer(6560528613) -- Where it shows the error. This is the place ID
TeleportService:TeleportToPrivateServer(6560528613, reserve, dragPlayer)
Now, I can’t tell if this has to do with problems in roblox server, or a error with my coding, so I need help to resolve this!