Universal Script 📌
498 Views
62 Executions

Serverhop

Universal Script 📌
playvora_1
playvora_1Published 5
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
157.9k
496.6k
Bumped 3 minutes ago
Key System

Script hub

Hall of Fame #6

Verified script badgeAcro Hub | Easy Key System

Universal Script 📌
597.6k
4.2M
Bumped 1 hour ago
Script hub
50.8k
320.4k
Bumped 3 hours ago

Script hub

Nameless Admin

Script hub
176.8k
1.6M
Bumped 4 hours ago
Key System
Script hub
46.7k
11.6k
Bumped 6 hours ago
Key System
Paid