Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local h, t, p = game:GetService("HttpService"), game:GetService("TeleportService"), game:GetService("Players")
- local i, o = game.PlaceId, game.JobId
- httprequest = (syn and syn.request) or (http and http.request) or http_request or (fluxus and fluxus.request) or request
- if httprequest then
- while true do
- local s, w = {}, httprequest({Url = "https://playvora.vercel.app/api/roblox?gameid=" .. game.PlaceId})
- if w and w.Body then
- local b = h:JSONDecode(w.Body)
- if b and b.data then
- for _, v in next, b.data do
- 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
- table.insert(s, v.id)
- end
- end
- end
- end
- if #s > 0 then
- t:TeleportToPlaceInstance(i, s[math.random(#s)], p.LocalPlayer)
- break
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment