Server hop
Key RequiredUniversal

Server hop

Universal ScriptGuesttester_1Guesttester_1 16.6K views 325 executesUpdated Aug 27, 2023
5.0/ 5(1 votes)
10100% Positive
Lua Script•23 lines (777 chars)
local Player = game.Players.LocalPlayer    
local Http = game:GetService("HttpService")
local TPS = game:GetService("TeleportService")
local Api = "https://games.roblox.com/v1/games/"

local _place,_id = game.PlaceId, game.JobId
local _servers = Api.._place.."/servers/Public?sortOrder=Desc&limit=100"
function ListServers(cursor)
   local Raw = game:HttpGet(_servers .. ((cursor and "&cursor="..cursor) or ""))
   return Http:JSONDecode(Raw)
end

local Next; repeat
   local Servers = ListServers(Next)
   for i,v in next, Servers.data do
       if v.playing < v.maxPlayers and v.id ~= _id then
           local s,r = pcall(TPS.TeleportToPlaceInstance,TPS,_place,v.id,Player)
           if s then break end
       end
   end
   
   Next = Servers.nextPageCursor
until not Next

Features & Information

Join every server

Community Comments (1)

L4BIBL4BIBJun 22, 2024(edited)

Not Work With Solara

More Scripts for Universal Scripts