Auto Dig Script
Key Required

Auto Dig Script

Bee Swarm SimulatorMetalMetal 2.2K views 47 executesUpdated Dec 22, 2025
5.0/ 5(1 votes)
10100% Positive
Lua Script•272 lines (8243 chars)
setclipboard("https://discord.gg/TR3quUFgT6")

local players = game:GetService("Players")
local runservice = game:GetService("RunService")
local replicatedstorage = game:GetService("ReplicatedStorage")
local lighting = game:GetService("Lighting")

local player = players.LocalPlayer
local playergui = player:WaitForChild("PlayerGui")

local humanoid
local function bindhumanoid()
	local char = player.Character or player.CharacterAdded:Wait()
	humanoid = char:WaitForChild("Humanoid")
end
bindhumanoid()
player.CharacterAdded:Connect(bindhumanoid)

local event = replicatedstorage:WaitForChild("Events"):WaitForChild("ToolCollect")

local gui = Instance.new("ScreenGui")
gui.ResetOnSpawn = false
gui.IgnoreGuiInset = true
gui.Parent = playergui

local reopen = Instance.new("TextButton")
reopen.Size = UDim2.fromScale(0.25, 0.06)
reopen.Position = UDim2.fromScale(0.375, 0.02)
reopen.BackgroundColor3 = Color3.fromRGB(30, 30, 36)
reopen.Text = "open panel"
reopen.Font = Enum.Font.GothamBold
reopen.TextSize = 16
reopen.TextColor3 = Color3.fromRGB(235, 235, 240)
reopen.Visible = false
reopen.Parent = gui
Instance.new("UICorner", reopen).CornerRadius = UDim.new(0, 14)

local main = Instance.new("Frame")
main.Size = UDim2.fromScale(0.9, 0.85)
main.Position = UDim2.fromScale(0.05, 0.1)
main.BackgroundColor3 = Color3.fromRGB(20, 20, 24)
main.BorderSizePixel = 0
main.Parent = gui
Instance.new("UICorner", main).CornerRadius = UDim.new(0, 18)

local titlebar = Instance.new("Frame")
titlebar.Size = UDim2.fromScale(1, 0.08)
titlebar.BackgroundTransparency = 1
titlebar.Parent = main

local title = Instance.new("TextLabel")
title.Size = UDim2.fromScale(0.7, 1)
title.Position = UDim2.fromScale(0.04, 0)
title.BackgroundTransparency = 1
title.Text = "auto dig panel"
title.Font = Enum.Font.GothamBold
title.TextSize = 22
title.TextXAlignment = Enum.TextXAlignment.Left
title.TextColor3 = Color3.fromRGB(235, 235, 240)
title.Parent = titlebar

local minimize = Instance.new("TextButton")
minimize.Size = UDim2.fromScale(0.12, 0.7)
minimize.Position = UDim2.fromScale(0.84, 0.15)
minimize.BackgroundColor3 = Color3.fromRGB(45, 45, 55)
minimize.Text = "hide"
minimize.Font = Enum.Font.GothamBold
minimize.TextSize = 16
minimize.TextColor3 = Color3.fromRGB(230, 230, 235)
minimize.Parent = titlebar
Instance.new("UICorner", minimize).CornerRadius = UDim.new(0, 10)

local content = Instance.new("Frame")
content.Size = UDim2.fromScale(1, 0.92)
content.Position = UDim2.fromScale(0, 0.08)
content.BackgroundTransparency = 1
content.Parent = main

local list = Instance.new("UIListLayout")
list.Padding = UDim.new(0, 12)
list.HorizontalAlignment = Enum.HorizontalAlignment.Center
list.Parent = content

local function section(name)
	local f = Instance.new("Frame")
	f.Size = UDim2.fromScale(0.95, 0)
	f.AutomaticSize = Enum.AutomaticSize.Y
	f.BackgroundColor3 = Color3.fromRGB(26, 26, 32)
	f.BorderSizePixel = 0
	Instance.new("UICorner", f).CornerRadius = UDim.new(0, 14)

	local pad = Instance.new("UIPadding", f)
	pad.PaddingTop = UDim.new(0, 12)
	pad.PaddingBottom = UDim.new(0, 12)
	pad.PaddingLeft = UDim.new(0, 14)
	pad.PaddingRight = UDim.new(0, 14)

	local title = Instance.new("TextLabel")
	title.Size = UDim2.fromScale(1, 0)
	title.AutomaticSize = Enum.AutomaticSize.Y
	title.BackgroundTransparency = 1
	title.TextWrapped = true
	title.Text = name
	title.Font = Enum.Font.GothamBold
	title.TextSize = 18
	title.TextXAlignment = Enum.TextXAlignment.Left
	title.TextColor3 = Color3.fromRGB(230, 230, 235)
	title.Parent = f

	Instance.new("UIListLayout", f).Padding = UDim.new(0, 10)

	return f
end

local autodig = section("auto dig")
autodig.Parent = content

local info = Instance.new("TextLabel")
info.Size = UDim2.fromScale(1, 0)
info.AutomaticSize = Enum.AutomaticSize.Y
info.BackgroundTransparency = 1
info.TextWrapped = true
info.TextXAlignment = Enum.TextXAlignment.Left
info.Text = "auto dig doesn't visually swing your tool, but it still swings your tool. you just cannot see it."
info.Font = Enum.Font.Gotham
info.TextSize = 14
info.TextColor3 = Color3.fromRGB(180, 180, 190)
info.Parent = autodig

local autodigbtn = Instance.new("TextButton")
autodigbtn.Size = UDim2.fromScale(0.6, 0)
autodigbtn.AutomaticSize = Enum.AutomaticSize.Y
autodigbtn.BackgroundColor3 = Color3.fromRGB(45, 45, 55)
autodigbtn.Text = "auto dig off"
autodigbtn.Font = Enum.Font.GothamBold
autodigbtn.TextSize = 16
autodigbtn.TextColor3 = Color3.fromRGB(220, 220, 230)
autodigbtn.Parent = autodig
Instance.new("UICorner", autodigbtn).CornerRadius = UDim.new(0, 12)
Instance.new("UIPadding", autodigbtn).PaddingTop = UDim.new(0, 8)

local digon = false
local digconn
autodigbtn.MouseButton1Click:Connect(function()
	digon = not digon
	if digon then
		autodigbtn.Text = "auto dig on"
		digconn = runservice.RenderStepped:Connect(function()
			event:FireServer()
		end)
	else
		autodigbtn.Text = "auto dig off"
		if digconn then digconn:Disconnect() end
	end
end)

local lp = section("localplayer")
lp.Parent = content

local function statcontrol(labeltext, applyfunc)
	local holder = Instance.new("Frame")
	holder.Size = UDim2.fromScale(1, 0)
	holder.AutomaticSize = Enum.AutomaticSize.Y
	holder.BackgroundTransparency = 1

	local layout = Instance.new("UIListLayout", holder)
	layout.FillDirection = Enum.FillDirection.Horizontal
	layout.Padding = UDim.new(0, 8)

	local label = Instance.new("TextLabel")
	label.Size = UDim2.fromScale(0.35, 0)
	label.AutomaticSize = Enum.AutomaticSize.Y
	label.BackgroundTransparency = 1
	label.TextWrapped = true
	label.Text = labeltext
	label.Font = Enum.Font.Gotham
	label.TextSize = 15
	label.TextColor3 = Color3.fromRGB(210, 210, 220)
	label.Parent = holder

	local box = Instance.new("TextBox")
	box.Size = UDim2.fromScale(0.3, 0)
	box.AutomaticSize = Enum.AutomaticSize.Y
	box.BackgroundColor3 = Color3.fromRGB(40, 40, 48)
	box.PlaceholderText = "number"
	box.ClearTextOnFocus = false
	box.Font = Enum.Font.Gotham
	box.TextSize = 15
	box.TextColor3 = Color3.fromRGB(230, 230, 235)
	box.Parent = holder
	Instance.new("UICorner", box).CornerRadius = UDim.new(0, 10)
	Instance.new("UIPadding", box).PaddingTop = UDim.new(0, 6)

	local toggle = Instance.new("TextButton")
	toggle.Size = UDim2.fromScale(0.3, 0)
	toggle.AutomaticSize = Enum.AutomaticSize.Y
	toggle.BackgroundColor3 = Color3.fromRGB(45, 45, 55)
	toggle.Text = "off"
	toggle.Font = Enum.Font.GothamBold
	toggle.TextSize = 14
	toggle.TextColor3 = Color3.fromRGB(220, 220, 230)
	toggle.Parent = holder
	Instance.new("UICorner", toggle).CornerRadius = UDim.new(0, 10)
	Instance.new("UIPadding", toggle).PaddingTop = UDim.new(0, 6)

	local value = 0
	box.FocusLost:Connect(function(enter)
		if enter then
			value = tonumber(box.Text) or value
		end
	end)

	local on = false
	local conn
	toggle.MouseButton1Click:Connect(function()
		on = not on
		toggle.Text = on and "on" or "off"
		if on then
			conn = runservice.RenderStepped:Connect(function()
				applyfunc(value)
			end)
		else
			if conn then conn:Disconnect() end
		end
	end)

	return holder
end

statcontrol("walkspeed", function(v)
	if humanoid then humanoid.WalkSpeed = v end
end).Parent = lp

statcontrol("jumppower", function(v)
	if humanoid then humanoid.JumpPower = v end
end).Parent = lp

local fullbrightbtn = Instance.new("TextButton")
fullbrightbtn.Size = UDim2.fromScale(0.5, 0)
fullbrightbtn.AutomaticSize = Enum.AutomaticSize.Y
fullbrightbtn.BackgroundColor3 = Color3.fromRGB(45, 45, 55)
fullbrightbtn.Text = "fullbright off"
fullbrightbtn.Font = Enum.Font.GothamBold
fullbrightbtn.TextSize = 16
fullbrightbtn.TextColor3 = Color3.fromRGB(220, 220, 230)
fullbrightbtn.Parent = lp
Instance.new("UICorner", fullbrightbtn).CornerRadius = UDim.new(0, 12)

local fb = false
fullbrightbtn.MouseButton1Click:Connect(function()
	fb = not fb
	fullbrightbtn.Text = fb and "fullbright on" or "fullbright off"
	if fb then
		lighting.Brightness = 2
		lighting.ClockTime = 14
		lighting.FogEnd = 100000
		lighting.GlobalShadows = false
	else
		lighting.Brightness = 1
		lighting.GlobalShadows = true
	end
end)

minimize.MouseButton1Click:Connect(function()
	main.Visible = false
	reopen.Visible = true
end)

reopen.MouseButton1Click:Connect(function()
	main.Visible = true
	reopen.Visible = false
end)

Features & Information

op keyless yap yap yap automatically digs if you select the option to IT DOES WORK. just does show that youre swinging it.
#op#keyless#auto#dig#bss

Community Comments (2)

CatBoyyCatBoyyDec 22, 2025

not good cuz dosent play animation

Replying to @CatBoyy
MetalMetalDec 23, 2025

@CatBoyy yea ik, im just too lazy to add it atm

More Scripts for Bee Swarm Simulator