Universal Script 📌
16.7k Views
424 Executions

Server hop

Universal Script 📌
3 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

Join every server

Updates

  1. Script edited: Create script

View Raw
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


Comments

1
Log in to join the conversation. Login
L4BIB's profile picture
L4BIB2 years ago(edited)

Not Work With Solara

1

More universal scripts

See all
Universal Script 📌
46
1
Approved 1 hour ago
Script hub
11.2k
56.8k
Bumped 2 hours ago
Key System
Script hub
1.6M
2.1M
Bumped 2 hours ago
Key System

Script hub

#14 this week

Verified script badgeSnowy Hub 500+ Games & 25600+ Features

Universal Script 📌
104
9
Approved 2 hours ago
Universal Script 📌
101
8
Approved 2 hours ago