SythicalScripts

Sythical | Mad City Auto Rob (2)

Feb 21st, 2023
2,251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. wait(8)
  2. for i = 1, 50 do
  3. local lastpos = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  4. task.wait(5)
  5. if lastpos == game.Players.LocalPlayer.Character.HumanoidRootPart.Position then
  6. print(lastpos, "=", game.Players.LocalPlayer.Character.HumanoidRootPart.Position)
  7. task.wait()
  8. local goofyahhint = math.random(16, 26)
  9. for i = 1, 100 do
  10. local Player = game.Players.LocalPlayer
  11. local Http = game:GetService("HttpService")
  12. local TPS = game:GetService("TeleportService")
  13. local Api = "https://games.roblox.com/v1/games/"
  14.  
  15. local _place,_id = game.PlaceId, game.JobId
  16. local _servers = Api.._place.."/servers/Public?sortOrder=Desc&limit=100"
  17. function ListServers(cursor)
  18. local Raw = game:HttpGet(_servers .. ((cursor and "&cursor="..cursor) or ""))
  19. return Http:JSONDecode(Raw)
  20. end
  21.  
  22. local Next; repeat
  23. local Servers = ListServers(Next)
  24. for i,v in next, Servers.data do
  25. if tonumber(v.playing) < goofyahhint and v.id ~= _id then
  26. local s,r = pcall(TPS.TeleportToPlaceInstance,TPS,_place,v.id,Player)
  27. if s then break end
  28. end
  29. end
  30.  
  31. Next = Servers.nextPageCursor
  32. until not Next
  33. end
  34. end
  35. end
Advertisement
Add Comment
Please, Sign In to add comment