Universal Script πŸ“Œ
43.8k Views
1.4k Executions

Script Verified ServerHop

Universal Script πŸ“Œ
vxsty
vxsty
Verified Badge
Verified User
Hall of Fame10M views
1 year 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

Optimized & Customizable universal server hop! This script lets you choose the server you wanna server hop to, For example: Highest FPS, Lowest Ping, Lowest Players, ... I don't think I will be updating this any time soon, Feel free to fork it or remake or use publicly.

View Raw
local IGNORE_FILE = "ServerHop.txt"
local HOUR = 3600

local Module = {}

local HttpService, TeleportService = game:GetService"HttpService", game:GetService"TeleportService"

local function GET()
    if not isfile(IGNORE_FILE) then return {} end
    local list = {}
    local now = os.time()
    for _, line in next, readfile(IGNORE_FILE):split("\n") do
        local pmo, ts = line:match("([^|]+)|?(%d*)")
        ts = tonumber(ts) or 0
        if now - ts < HOUR then list[pmo] = ts end
    end
    return list
end

local function Update(List)
    local sybau = {}
    for ts, pmo in next, List do
        table.insert(sybau, ts .. "|" .. pmo)
    end
    writefile(IGNORE_FILE, table.concat(sybau, "\n"))
end

local IgnoredServers = GET()

function Module:GetServers(Sort)
    Sort = Sort or { ping = true, fps = false, asc = false }
    
    local cursor = ""
    while true do
        local success, result = pcall(function()
            return HttpService:JSONDecode(game:HttpGet(`https://games.roblox.com/v1/games/{game.PlaceId}/servers/Public?limit=100&sortOrder={(Sort.asc and "Asc" or "Desc")}&excludeFullGames=true&cursor={cursor}`))
        end)
        
        if not success or not result or not result.data then error("server error (not success or no result or no data)") end



Comments

12
Log in to join the conversation. Login
debug_colonel's profile picture
debug_colonel1 year ago

the only thing i like here is how bro names the variables like WW Fr

2
vxsty's profile picture
vxstyVerified
Verified Badge
Verified User
Hall of FameUploader1 year ago

@WEPRE_productions funsies

2
v0idlua's profile picture
v0idlua11 months ago

21 ahh dislikesπŸ₯€

1
vxsty's profile picture
vxstyVerified
Verified Badge
Verified User
Hall of FameUploader11 months ago

@PlayerZN botted

1
WERTX's profile picture
WERTX1 year ago

Maybe W script i think

1
notfynnn's profile picture
notfynnn1 year ago

W SCRIPT

1
wjGQiwhUsbUsi9's profile picture
wjGQiwhUsbUsi91 year ago

Bro prolly skidded this from iyr

1
UnnesscaryInventions's profile picture
UnnesscaryInventions1 year ago

people be making anything

1

Tags

More universal scripts

See all
Script hub
51
2
2 days ago
Key System
Paid
Script hub
3.0M
14.6M
3 years ago

Script hub

Hall of Fame #1

KeylessVerified script badgeYARHM - MM2, FTF, Forsaken, etc.

Script hub
150
6
2 days ago
Key System
Universal Script πŸ“Œ
4.7k
27.2k
4 months ago