Script hub
501 Views
7.7k Executions

HEITOR HUB ADMIN

Script hub
Heitorlucas487yyy
Heitorlucas487yyyFirst script
5 months 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

Adm

Supported games 1

Brookhaven RP

All scripts

No features listed for this game yet.

Works in: Brookhaven RP

View Raw
local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
local Players = game:GetService("Players")

local Window = Rayfield:CreateWindow({
   Name = "Meu Menu",
   LoadingTitle = "Carregando...",
   LoadingSubtitle = "por Heitor",
   ConfigurationSaving = { Enabled = false }
})

local Tab = Window:CreateTab("Início", 4483362458)

-- Função para listar os jogadores da partida
local function GetPlayerNames()
    local names = {}
    for _, player in ipairs(Players:GetPlayers()) do
        table.insert(names, player.Name)
    end
    return names
end

-- Dropdown para selecionar jogador
local PlayerDropdown = Tab:CreateDropdown({
   Name = "Lista de Jogadores",
   Options = GetPlayerNames(),
   CurrentOption = "",
   Callback = function(Option)
       local selected = typeof(Option) == "table" and Option[1] or Option
       print("Jogador selecionado: " .. tostring(selected))
   end,
})

-- Botão para fechar a própria conexão (Shutdown)
Tab:CreateButton({
   Name = "Sair do Jogo (DataModel)",
   Callback = function()
       game:Shutdown()
   end,
})



Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Other Scripts

Script hub
149
987
Bumped 32 minutes ago

Script hub

Lunyx Hub

Evade
673.2k
155.6k
Bumped 50 minutes ago
Key System
Script hub
120.8k
221.2k
Bumped 50 minutes ago
Key System
Murder Mystery 2
190.6k
792.4k
Bumped 50 minutes ago
Key System
High Quality Offering
Steal An Egg
29.0k
253.0k
Bumped 1 hour ago
Blox Fruits
38.0k
129.6k
Bumped 1 hour ago
Script hub
10.5k
200.6k
Bumped 1 hour ago

Script hub

KeylessVerified script badgeIRIDIUM HUB | #1