Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(8)
- for i = 1, 50 do
- local lastpos = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
- task.wait(5)
- if lastpos == game.Players.LocalPlayer.Character.HumanoidRootPart.Position then
- print(lastpos, "=", game.Players.LocalPlayer.Character.HumanoidRootPart.Position)
- task.wait()
- local goofyahhint = math.random(16, 26)
- for i = 1, 100 do
- local Player = game.Players.LocalPlayer
- local Http = game:GetService("HttpService")
- local TPS = game:GetService("TeleportService")
- local Api = "https://games.roblox.com/v1/games/"
- local _place,_id = game.PlaceId, game.JobId
- local _servers = Api.._place.."/servers/Public?sortOrder=Desc&limit=100"
- function ListServers(cursor)
- local Raw = game:HttpGet(_servers .. ((cursor and "&cursor="..cursor) or ""))
- return Http:JSONDecode(Raw)
- end
- local Next; repeat
- local Servers = ListServers(Next)
- for i,v in next, Servers.data do
- if tonumber(v.playing) < goofyahhint and v.id ~= _id then
- local s,r = pcall(TPS.TeleportToPlaceInstance,TPS,_place,v.id,Player)
- if s then break end
- end
- end
- Next = Servers.nextPageCursor
- until not Next
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment