
5.5k Views
170 Executions
Gui de entrar em servidor pequen by Mr red black
Universal Script π 2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Script foda
Updates
Script edited: Create script
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
})










GENTE, REALMENTE FUNCIONA!!!