Advertisement
SenseiRoblox

Untitled

Mar 28th, 2021
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. wait(60)
  2. local paste = "https://raw.githubusercontent.com/CMD-X/CMD-X/master/projetcs/InGameFlingForTB"
  3. function newServer()
  4. syn.queue_on_teleport('loadstring(game:HttpGet("'..paste..'"))()')
  5. for i = 1,100 do
  6. local GUIDs = {}
  7. local Http = game:GetService("HttpService"):JSONDecode(game:HttpGet("https://games.roblox.com/v1/games/"..game.PlaceId.."/servers/Public?sortOrder=Asc&limit=100&cursor="))
  8. for i = 1,100 do
  9. for i,v in pairs(Http.data) do
  10. if v.playing ~= v.maxPlayers then
  11. table.insert(GUIDs, {id = v.id, users = v.playing})
  12. end
  13. end
  14. if Http.nextPageCursor ~= null then Http = game:GetService("HttpService"):JSONDecode(game:HttpGet("https://games.roblox.com/v1/games/"..game.PlaceId.."/servers/Public?sortOrder=Asc&limit=100&cursor="..Http.nextPageCursor)) else break end
  15. end
  16. pcall(function()game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, GUIDs[math.random(1,#GUIDs)].id, game:GetService("Players").LocalPlayer)end)
  17. wait(3)
  18. end
  19. end
  20.  
  21. newServer()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement