Universal Script 📌
3.4k Views
373 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

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
Script hub
265.4k
102.3k
Bumped 17 minutes ago
Key System
Script hub
281.5k
916.9k
Bumped 3 hours ago
Key System

Script hub

#21 this week

Verified script badgeAxon Hub 60+ Games & 800+ Features

Script hub
2.1M
704.6k
Bumped 3 hours ago
Key System

Script hub

#5 today

Verified script badgeLumin Hub | #1 | Insta Steal

Universal Script 📌
29.9k
88.2k
Bumped 5 hours ago
Script hub
19.0k
65.5k
Bumped 5 hours ago
Key System
Universal Script 📌
1.8k
6.7k
Bumped 7 hours ago
Key System
Script hub
177
33
Approved 7 hours ago
Paid

Script hub

anmultv hub

Universal Script 📌
153
51
Approved 7 hours ago