Universal Script 📌
478 Views
54 Executions

Serverhop

Universal Script 📌
playvora_1
playvora_1First script
11 months 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

serverhop uses api https://playvora.vercel.app/roblox to fix cant parse json errors

View Raw
getfenv().hasrun = getfenv().hasrun or false
if getfenv().hasrun then return end
getfenv().hasrun = true

if not game:IsLoaded() then game.Loaded:Wait() end

local Players = game:GetService("Players")
local TeleportService = game:GetService("TeleportService")
local HttpService = game:GetService("HttpService")
local PlaceId = game.PlaceId
local CurrentJobId = game.JobId

local LocalPlayer = Players.LocalPlayer

httprequest = syn and syn.request or request or http_request or fluxus and fluxus.request or httprequest

local function ServerHop()
    if not httprequest then
        warn("No httprequest supported")
        return
    end

    while true do
        local Servers = {}

        local Success, Response = pcall(function()
            return httprequest({Url = "https://playvora.vercel.app/roblox?gameid=" .. PlaceId})
        end)

        if Success and Response and Response.Body then
            local Data = HttpService:JSONDecode(Response.Body)
            if Data and Data.data then
                for _, Server in ipairs(Data.data) do
                    if Server.id ~= CurrentJobId and Server.playing and Server.maxPlayers then
                        local FillPercent = Server.playing / Server.maxPlayers * 100
                        if FillPercent >= 10 and FillPercent <= 95 then
                            table.insert(Servers, Server.id)
                        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
159.6k
1.5M
Bumped 1 hour ago
Key System

Script hub

#15 this week

Verified script badgeAirflow HUB

Universal Script 📌
2.2k
989
Bumped 1 hour ago
Script hub
1.6M
1.9M
Bumped 1 hour ago
Key System

Script hub

#10 this week

Verified script badgeSnowy Hub 500+ Games & 25600+ Features

Universal Script 📌
40.4k
817.4k
Bumped 3 hours ago
Universal Script 📌
133.7k
24.2k
Bumped 4 hours ago
Key System