Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --!nolint
- --!nocheck
- --!native
- --!optimize 2
- local a
- a = {
- cache = {},
- load = function(b)
- if not a.cache[b] then
- a.cache[b] = { c = a[b]() }
- end
- return a.cache[b].c
- end,
- }
- do
- function a.a()
- local b, c, d = game:GetService(`HttpService`), game:GetService(`TeleportService`), {}
- function d:GetPayload()
- local e, f = pcall(readfile, `Servers.json`)
- local g
- if e and not (f == ``) then
- g = b:JSONDecode(f)
- end
- local h = game:HttpGet(
- `https://games.roblox.com/v1/games/{game.PlaceId}/servers/Public?limit=100&excludeFullGames=true&cursor={g and g.nextPageCursor or ``}`
- )
- if h then
- local i = b:JSONDecode(h)
- if not i.errors then
- writefile(`Servers.json`, h)
- return i
- end
- end
- return g
- end
- function d:HopServers()
- local e = d:GetPayload()
- if e then
- for f = 100, 1, -1 do
- local g = e.data[math.random(1, 100)]
- local h = g.maxPlayers > g.playing and g.id
- if h then
- c:TeleportToPlaceInstance(game.PlaceId, h)
- break
- end
- end
- end
- end
- return d
- end
- end
- task.wait(2)
- local b = game:GetService(`ReplicatedStorage`)
- local c, d = require(b:WaitForChild(`Packages`):WaitForChild(`Replion`)), a.load("a")
- local e = c.Client:WaitReplion(`ServerLuck`)
- local f, g = e:GetExpect(`ServerMultiplier`), e:GetExpect(`Expires`)
- if f >= 8 then
- local h = g - workspace:GetServerTimeNow()
- task.wait(h)
- d:HopServers()
- end
- d:HopServers()
- queue_on_teleport(`loadstring(game:HttpGet("https://pastebin.com/raw/XCAYBqke?v=s"))()`)
Advertisement
Add Comment
Please, Sign In to add comment