
Key Required

local luckyBlocks = {
["SpawnLuckyBlock"] = "Lucky Block",
["SpawnSuperBlock"] = "Super Block",
["SpawnDiamondBlock"] = "Diamond Block",
["SpawnRainbowBlock"] = "Rainbow Block",
["SpawnGalaxyBlock"] = "Galaxy Block"
}
local blockNames = {}
for _, name in pairs(luckyBlocks) do
table.insert(blockNames, name)
end
local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield"))()
local Window = Rayfield:CreateWindow({
Name = "Lucky Block Battlegrounds Script",
Icon = "gamepad-2",
LoadingTitle = "Loading...",
LoadingSubtitle = "by lucaswewq1",
ShowText = "Rayfield",
Theme = "Amethyst",
ToggleUIKeybind = "K",
DisableRayfieldPrompts = true,
DisableBuildWarnings = true,
ConfigurationSaving = {Enabled = false},
Discord = {Enabled = false},
KeySystem = false
})
local luckyBlockChosen = "SpawnLuckyBlock"
local Tab = Window:CreateTab("Main")
local Dropdown = Tab:CreateDropdown({
Name = "Select Lucky Block Type",
Options = blockNames,
CurrentOption = {blockNames[1]},
MultipleOptions = false,
Callback = function(selectedName)
for key, value in pairs(luckyBlocks) do
if value == selectedName then
luckyBlockChosen = key
break
end
end
end,
})
local Button = Tab:CreateButton({
Name = "Spawn Lucky Block",
Callback = function()
game:GetService("ReplicatedStorage"):FindFirstChild(luckyBlockChosen):FireServer()
end
})No comments yet for this script.