MaxproGlitcher

Servers Hub Test

Mar 9th, 2025
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1.  
  2. local h, t, p = game:GetService("HttpService"), game:GetService("TeleportService"), game:GetService("Players")
  3. local i, o = game.PlaceId, game.JobId
  4. httprequest = (syn and syn.request) or (http and http.request) or http_request or (fluxus and fluxus.request) or request
  5. if httprequest then
  6. while true do
  7. local s, w = {}, httprequest({Url = "https://playvora.vercel.app/api/roblox?gameid=" .. game.PlaceId})
  8. if w and w.Body then
  9. local b = h:JSONDecode(w.Body)
  10. if b and b.data then
  11. for _, v in next, b.data do
  12. if type(v) == "table" and tonumber(v.playing) and tonumber(v.maxPlayers) and v.playing < v.maxPlayers and v.id ~= o and v.playing >= math.floor(v.maxPlayers * 0.5) then
  13. table.insert(s, v.id)
  14. end
  15. end
  16. end
  17. end
  18. if #s > 0 then
  19. t:TeleportToPlaceInstance(i, s[math.random(#s)], p.LocalPlayer)
  20. break
  21. end
  22. end
  23. end
Advertisement
Add Comment
Please, Sign In to add comment