Http 400 when reserving servers?
04 | local gameid = 970703729 |
07 | local teleport = game:GetService( "TeleportService" ) |
11 | local play = #game.Players:GetChildren() |
12 | if script.Parent.players.Value > = minplayers then |
13 | script.Parent.timer.Value = timez |
16 | script.Parent.timer.Value = script.Parent.timer.Value - 1 |
17 | until script.Parent.timer.Value < = 0 |
18 | local reserve = teleport:ReserveServer(gameid) |
19 | for i,v in pairs (game.Players:GetPlayers()) do |
20 | if v.roundin.Value = = "Standard" then |
21 | teleport:TeleportToPrivateServer(gameid,reserve,v) |
28 | script.Parent.players.Changed:Connect(oof) |
Been at this for an hour, i'm about to throw my computer out the window.
This script teleports players that are in a round to a reserved server in another game.