
3.4k Views
373 Executions
serverhop
Universal Script 📌
playvoraaltPublished 5
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
i have to make my own api bcz solara sucks cant decode json
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
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







