Gui de entrar em servidor pequen by Mr red black
Key RequiredUniversal

Gui de entrar em servidor pequen by Mr red black

Universal ScriptTHE_MR_RED_BLACK_ofcTHE_MR_RED_BLACK_ofc 5.4K views 116 executesUpdated Dec 26, 2024
5.0/ 5(1 votes)
10100% Positive
Lua Script•33 lines (1312 chars)
local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()

local Window = OrionLib:MakeWindow({Name = "Meu Script", HidePremium = false, SaveConfig = true, ConfigFolder = "OrionTest"})

local Tab = Window:MakeTab({Name = "Principal", Icon = "rbxassetid://4483345998", PremiumOnly = false})

local Section = Tab:AddSection({Name = "Funções"})

Section:AddButton({
    Name = "SERVIDOR PEQUENO",
    Callback = function()
        local HttpService = game:GetService("HttpService")
        local TeleportService = game:GetService("TeleportService")
        local PlaceId = game.PlaceId

        local function GetSmallestServer()
            local servers = HttpService:JSONDecode(game:HttpGet("https://games.roblox.com/v1/games/"..PlaceId.."/servers/Public?sortOrder=Asc&limit=100"))
            for _, server in pairs(servers.data) do
                if server.playing < server.maxPlayers then
                    return server.id
                end
            end
            return nil
        end

        local serverId = GetSmallestServer()
        if serverId then
            TeleportService:TeleportToPlaceInstance(PlaceId, serverId, game.Players.LocalPlayer)
        else
            print("Nenhum servidor vazio encontrado.")
        end
    end
})

Features & Information

Script foda

Community Comments (1)

MadrakeDaTurquiaMadrakeDaTurquiaJul 25, 2025

GENTE, REALMENTE FUNCIONA!!!

More Scripts for Universal Scripts