Universal Script 📌
3.4k Views
386 Executions

serverhop

Universal Script 📌
playvoraalt
playvoraaltPublished 5
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No 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

Updates

  1. Script edited: Create script

View Raw
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

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Universal Script 📌
48.5k
46.5k
Bumped 2 hours ago
Universal Script 📌
1.4k
1.3k
Bumped 5 hours ago
Universal Script 📌
4.2k
56.4k
Bumped 6 hours ago
Universal Script 📌
7.1k
71.4k
Bumped 6 hours ago
Script hub
3.5M
1.2M
Bumped 7 hours ago
Key System
Universal Script 📌
5.0k
92.0k
Bumped 12 hours ago