Lucky Block Battlegrounds Script OP
Key RequiredUniversal

Lucky Block Battlegrounds Script OP

Universal ScriptThiAezThiAez 1.5K views 1.7K executesUpdated Dec 1, 2025
5.0/ 5(3 votes)
30100% Positive
Lua Script•134 lines (4624 chars)
--[[
	WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local player = Players.LocalPlayer

local Remotes = {
    ["Lucky Block"] = ReplicatedStorage:WaitForChild("SpawnLuckyBlock"),
    ["Super Block"] = ReplicatedStorage:WaitForChild("SpawnSuperBlock"),
    ["Rainbow Block"] = ReplicatedStorage:WaitForChild("SpawnRainbowBlock"),
    ["Galaxy Block"] = ReplicatedStorage:WaitForChild("SpawnGalaxyBlock"),
    ["Diamond Block"] = ReplicatedStorage:WaitForChild("SpawnDiamondBlock"),
}

local gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
gui.Name = "CustomBlockUI"
gui.ResetOnSpawn = false
gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling

local main = Instance.new("Frame", gui)
main.Size = UDim2.new(0, 240, 0, 180)
main.Position = UDim2.new(0.5, -120, 0.5, -90)
main.BackgroundColor3 = Color3.fromRGB(30, 30, 35)
main.Active, main.Draggable = true, true
main.BorderSizePixel = 0
main.ClipsDescendants = true
Instance.new("UICorner", main).CornerRadius = UDim.new(0, 10)

local title = Instance.new("TextLabel", main)
title.Size = UDim2.new(1, 0, 0, 35)
title.Text = "⚡ Block Spawner"
title.BackgroundColor3 = Color3.fromRGB(40, 40, 45)
title.TextColor3 = Color3.new(1, 1, 1)
title.Font = Enum.Font.GothamBold
title.TextSize = 16
title.BorderSizePixel = 0
Instance.new("UICorner", title).CornerRadius = UDim.new(0, 10)

local dropContainer = Instance.new("Frame", main)
dropContainer.Size = UDim2.new(1, -20, 0, 100)
dropContainer.Position = UDim2.new(0, 10, 0, 45)
dropContainer.BackgroundTransparency = 1
dropContainer.ClipsDescendants = true

local dropButton = Instance.new("TextButton", dropContainer)
dropButton.Size = UDim2.new(1, 0, 0, 35)
dropButton.Position = UDim2.new(0, 0, 0, 0)
dropButton.BackgroundColor3 = Color3.fromRGB(45, 45, 50)
dropButton.Text = "Select Block ▼"
dropButton.TextColor3 = Color3.new(1, 1, 1)
dropButton.Font = Enum.Font.GothamSemibold
dropButton.TextSize = 14
dropButton.BorderSizePixel = 0
Instance.new("UICorner", dropButton).CornerRadius = UDim.new(0, 8)

local dropScroll = Instance.new("ScrollingFrame", dropContainer)
dropScroll.Size = UDim2.new(1, 0, 0, 0)
dropScroll.Position = UDim2.new(0, 0, 0, 35)
dropScroll.BackgroundColor3 = Color3.fromRGB(35, 35, 40)
dropScroll.ScrollBarThickness = 4
dropScroll.BorderSizePixel = 0
dropScroll.Visible = false
dropScroll.CanvasSize = UDim2.new(0, 0, 0, 0)
dropScroll.AutomaticCanvasSize = Enum.AutomaticSize.Y

local layout = Instance.new("UIListLayout", dropScroll)
layout.Padding = UDim.new(0, 5)
layout.SortOrder = Enum.SortOrder.LayoutOrder

local function updateCanvas()
	task.wait()
	dropScroll.CanvasSize = UDim2.new(0, 0, 0, layout.AbsoluteContentSize.Y + 10)
end
layout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(updateCanvas)

local selected = nil
for name, remote in pairs(Remotes) do
	local opt = Instance.new("TextButton", dropScroll)
	opt.Size = UDim2.new(1, -10, 0, 25)
	opt.Position = UDim2.new(0, 5, 0, 0)
	opt.BackgroundColor3 = Color3.fromRGB(55, 55, 60)
	opt.TextColor3 = Color3.new(1, 1, 1)
	opt.Text = name
	opt.Font = Enum.Font.Gotham
	opt.TextSize = 13
	opt.AutoButtonColor = true
	opt.MouseButton1Click:Connect(function()
		selected = name
		dropButton.Text = "Selected: " .. name .. " ▼"
		dropScroll:TweenSize(UDim2.new(1, 0, 0, 0), "Out", "Quad", 0.25, true)
		task.wait(0.25)
		dropScroll.Visible = false
	end)
end

local expanded = false
dropButton.MouseButton1Click:Connect(function()
	expanded = not expanded
	if expanded then
		dropScroll.Visible = true
		dropScroll:TweenSize(UDim2.new(1, 0, 0, 100), "Out", "Quad", 0.25, true)
	else
		dropScroll:TweenSize(UDim2.new(1, 0, 0, 0), "Out", "Quad", 0.25, true)
		task.wait(0.25)
		dropScroll.Visible = false
	end
end)

local spawnBtn = Instance.new("TextButton", main)
spawnBtn.Size = UDim2.new(1, -20, 0, 35)
spawnBtn.Position = UDim2.new(0, 10, 0, 135)
spawnBtn.BackgroundColor3 = Color3.fromRGB(70, 120, 255)
spawnBtn.Text = "💎 Get All"
spawnBtn.TextColor3 = Color3.new(1, 1, 1)
spawnBtn.Font = Enum.Font.GothamBold
spawnBtn.TextSize = 15
spawnBtn.BorderSizePixel = 0
Instance.new("UICorner", spawnBtn).CornerRadius = UDim.new(0, 8)

spawnBtn.MouseButton1Click:Connect(function()
	if selected and Remotes[selected] then
		spawnBtn.Text = "⚙️ Getting..."
		for i = 1, 150 do
			task.wait(0.05)
			Remotes[selected]:FireServer()
		end
		spawnBtn.Text = "💎 Get All"
	else
		spawnBtn.Text = "❌ Please select a block!"
		task.wait(1)
		spawnBtn.Text = "💎 Get All"
	end
end)

Features & Information

:D

Community Comments (3)

voltexvoltexDec 1, 2025

mines better tho ngl

Replying to @voltex
ThiAezThiAezDec 1, 2025

@voltex me alegra:D

herobrine66066herobrine66066Mar 5, 2026

this suck I got banned right away

More Scripts for Universal Scripts