Description
--// AUTO CLICKER + AUTO REBIRTH GUI --// N = Auto Clicker | M = Auto Rebirth local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local Remotes = ReplicatedStorage:WaitForChild("Remotes") local ClickEvent = Remotes:WaitForChild("ClickBrainrot") local RebirthEvent = Remotes:WaitForChild("Rebirth") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local old = playerGui:FindFirstChild("AutoFarmGUI") if old then old:Destroy() end local clickEnabled = false local rebirthEnabled = false local waitingFor = nil local clickKey = Enum.KeyCode.N local rebirthKey = Enum.KeyCode.M local clickDelay = 0.1 local rebirthDelay = 0.1 --// GUI local gui = Instance.new ("ScreenGui") gui.Name = "AutoFarmGUI" gui.ResetOnSpawn = false gui.Parent = playerGui local frame = Instance.new ("Frame") frame.Size = UDim2.fromOffset(300, 205) frame.Position = UDim2.new (0.5, -150, 0.5, -102) frame.BackgroundColor3 = Color3.fromRGB(28, 30, 42) frame.BorderSizePixel = 0 frame.Parent = gui Instance.new ("UICorner", frame).CornerRadius = UDim.new (0, 12) local title = Instance.new ("TextLabel") title.Size = UDim2.new (1, 0, 0, 38) title.BackgroundColor3 = Color3.fromRGB(75, 95, 220) title.Text = "AUTO FARM CONTROLS" title.TextColor3 = Color3.new (1, 1, 1) title.Font = Enum.Font.GothamBold title.TextSize = 15 title.Active = true title.Parent = frame Instance.new ("UICorner", title).CornerRadius = UDim.new (0, 12) local function makeButton(text, x, y, w, h, color) local b = Instance.new ("TextButton") b.Position = UDim2.fromOffset(x, y) b.Size = UDim2.fromOffset(w, h) b.BackgroundColor3 = color b.Text = text b.TextColor3 = Color3.new (1, 1, 1) b.Font = Enum.Font.GothamBold b.TextSize = 12 b.BorderSizePixel = 0 b.Parent = frame Instance.new ("UICorner", b).CornerRadius = UDim.new (0, 7) return b end local clickButton = makeButton( "Auto Click: OFF", 10, 52, 175, 36, Color3.fromRGB(45, 145, 90) ) local clickBind = makeButton( "Key: N", 195, 52, 95, 36, Color3.fromRGB(70, 80, 115) ) local rebirthButton = makeButton( "Auto Rebirth: OFF", 10, 98, 175, 36, Color3.fromRGB(45, 145, 90) ) local rebirthBind = makeButton( "Key: M", 195, 98, 95, 36, Color3.fromRGB(70, 80, 115) ) local hint = Instance.new ("TextLabel") hint.Position = UDim2.fromOffset(10, 151) hint.Size = UDim2.new (1, -20, 0, 35) hint.BackgroundTransparency = 1 hint.Text = "N: Clicker | M: Rebirth" hint.TextColor3 = Color3.fromRGB(200, 200, 215) hint.Font = Enum.Font.Gotham hint.TextSize = 12 hint.Parent = frame --// Toggle states local function updateUI() clickButton.Text = "Auto Click: " .. (clickEnabled and "ON" or "OFF") clickButton.BackgroundColor3 = clickEnabled and Color3.fromRGB(30, 190, 100) or Color3.fromRGB(75, 80, 100) rebirthButton.Text = "Auto Rebirth: " .. (rebirthEnabled and "ON" or "OFF") rebirthButton.BackgroundColor3 = rebirthEnabled and Color3.fromRGB(30, 190, 100) or Color3.fromRGB(75, 80, 100) end local function setClick(value) clickEnabled = value updateUI() if value then task.spawn(function() while clickEnabled do local ok, err = pcall(function() ClickEvent:FireServer(1) end) if not ok then warn("Auto Click error:", err) task.wait(1) else task.wait(clickDelay) end end end) end end local function setRebirth(value) rebirthEnabled = value updateUI() if value then task.spawn(function() while rebirthEnabled do local ok, err = pcall(function() RebirthEvent:InvokeServer() end) if not ok then warn("Auto Rebirth error:", err) task.wait(1) else task.wait(rebirthDelay) end end end) end end clickButton.Activated:Connect(function() setClick(not clickEnabled) end) rebirthButton.Activated:Connect(function() setRebirth(not rebirthEnabled) end) --// Custom keybind buttons clickBind.Activated:Connect(function() waitingFor = "click" clickBind.Text = "Press key..." end) rebirthBind.Activated:Connect(function() waitingFor = "rebirth" rebirthBind.Text = "Press key..." end) UIS.InputBegan:Connect(function(input, processed) if waitingFor then if input.UserInputType ~= Enum.UserInputType.Keyboard then return end if waitingFor == "click" then clickKey = input.KeyCode clickBind.Text = "Key: " .. clickKey.Name else rebirthKey = input.KeyCode rebirthBind.Text = "Key: " .. rebirthKey.Name end waitingFor = nil return end if processed then return end if input.KeyCode == clickKey then setClick(not clickEnabled) elseif input.KeyCode == rebirthKey then setRebirth(not rebirthEnabled) end end) --// Draggable title bar local dragging = false local dragStart local startPos local activeTouch title.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = frame.Position if input.UserInputType == Enum.UserInputType.Touch then end end end) UIS.InputChanged:Connect(function(input) if not dragging then return end local movingMouse = input.UserInputType == Enum.UserInputType.MouseMovement local movingTouch = input.UserInputType == Enum.UserInputType.Touch and input == activeTouch if movingMouse or movingTouch then local delta = input.Position - dragStart frame.Position = UDim2.new ( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end end) UIS.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or (activeTouch and input == activeTouch) then dragging = false activeTouch = nil end end) updateUI()
Script source Luau
-- [[ BloxScripts Risk Notice ]]
-- This script has not been verified by BloxScripts.fun. Deal with caution.
--
-- Stay safe:
-- • Never log in on unofficial Roblox sites or lookalike domains.
-- • Real Roblox links use roblox.com (check the .com ending).
-- • Treat fake Roblox login / "claim reward" pages as phishing.
-- [[ End BloxScripts Risk Notice ]]
--// AUTO CLICKER + AUTO REBIRTH GUI
--// N = Auto Clicker | M = Auto Rebirth
local Players = game:GetService("Players")
local UIS = game:GetService("UserInputService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Remotes = ReplicatedStorage:WaitForChild("Remotes")
local ClickEvent = Remotes:WaitForChild("ClickBrainrot")
local RebirthEvent = Remotes:WaitForChild("Rebirth")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local old = playerGui:FindFirstChild("AutoFarmGUI")
if old then old:Destroy() end
local clickEnabled = false
local rebirthEnabled = false
local waitingFor = nil
local clickKey = Enum.KeyCode.N
local rebirthKey = Enum.KeyCode.M
local clickDelay = 0.1
local rebirthDelay = 0.1
--// GUI
local gui = Instance.new("ScreenGui")
gui.Name = "AutoFarmGUI"
gui.ResetOnSpawn = false
gui.Parent = playerGui
local frame = Instance.new("Frame")
frame.Size = UDim2.fromOffset(300, 205)
frame.Position = UDim2.new(0.5, -150, 0.5, -102)
frame.BackgroundColor3 = Color3.fromRGB(28, 30, 42)
frame.BorderSizePixel = 0
frame.Parent = gui
Instance.new("UICorner", frame).CornerRadius =
UDim.new(0, 12)
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 38)
title.BackgroundColor3 = Color3.fromRGB(75, 95, 220)
title.Text = "AUTO FARM CONTROLS"
title.TextColor3 = Color3.new(1, 1, 1)
title.Font = Enum.Font.GothamBold
title.TextSize = 15
title.Active = true
title.Parent = frame
Instance.new("UICorner", title).CornerRadius =
UDim.new(0, 12)
local function makeButton(text, x, y, w, h, color)
local b = Instance.new("TextButton")
b.Position = UDim2.fromOffset(x, y)
b.Size = UDim2.fromOffset(w, h)
b.BackgroundColor3 = color
b.Text = text
b.TextColor3 = Color3.new(1, 1, 1)
b.Font = Enum.Font.GothamBold
b.TextSize = 12
b.BorderSizePixel = 0
b.Parent = frame
Instance.new("UICorner", b).CornerRadius =
UDim.new(0, 7)
return b
end
local clickButton = makeButton(
"Auto Click: OFF", 10, 52, 175, 36,
Color3.fromRGB(45, 145, 90)
)
local clickBind = makeButton(
"Key: N", 195, 52, 95, 36,
Color3.fromRGB(70, 80, 115)
)
local rebirthButton = makeButton(
"Auto Rebirth: OFF", 10, 98, 175, 36,
Color3.fromRGB(45, 145, 90)
)
local rebirthBind = makeButton(
"Key: M", 195, 98, 95, 36,
Color3.fromRGB(70, 80, 115)
)
local hint = Instance.new("TextLabel")
hint.Position = UDim2.fromOffset(10, 151)
hint.Size = UDim2.new(1, -20, 0, 35)
hint.BackgroundTransparency = 1
hint.Text = "N: Clicker | M: Rebirth"
hint.TextColor3 = Color3.fromRGB(200, 200, 215)
hint.Font = Enum.Font.Gotham
hint.TextSize = 12
hint.Parent = frame
--// Toggle states
local function updateUI()
clickButton.Text = "Auto Click: " ..
(clickEnabled and "ON" or "OFF")
clickButton.BackgroundColor3 = clickEnabled
and Color3.fromRGB(30, 190, 100)
or Color3.fromRGB(75, 80, 100)
rebirthButton.Text = "Auto Rebirth: " ..
(rebirthEnabled and "ON" or "OFF")
rebirthButton.BackgroundColor3 = rebirthEnabled
and Color3.fromRGB(30, 190, 100)
or Color3.fromRGB(75, 80, 100)
end
local function setClick(value)
clickEnabled = value
updateUI()
if value then
task.spawn(function()
while clickEnabled do
local ok, err = pcall(function()
ClickEvent:FireServer(1)
end)
if not ok then
warn("Auto Click error:", err)
task.wait(1)
else
task.wait(clickDelay)
end
end
end)
end
end
local function setRebirth(value)
rebirthEnabled = value
updateUI()
if value then
task.spawn(function()
while rebirthEnabled do
local ok, err = pcall(function()
RebirthEvent:InvokeServer()
end)
if not ok then
warn("Auto Rebirth error:", err)
task.wait(1)
else
task.wait(rebirthDelay)
end
end
end)
end
end
clickButton.Activated:Connect(function()
setClick(not clickEnabled)
end)
rebirthButton.Activated:Connect(function()
setRebirth(not rebirthEnabled)
end)
--// Custom keybind buttons
clickBind.Activated:Connect(function()
waitingFor = "click"
clickBind.Text = "Press key..."
end)
rebirthBind.Activated:Connect(function()
waitingFor = "rebirth"
rebirthBind.Text = "Press key..."
end)
UIS.InputBegan:Connect(function(input, processed)
if waitingFor then
if input.UserInputType ~= Enum.UserInputType.Keyboard then
return
end
if waitingFor == "click" then
clickKey = input.KeyCode
clickBind.Text = "Key: " .. clickKey.Name
else
rebirthKey = input.KeyCode
rebirthBind.Text = "Key: " .. rebirthKey.Name
end
waitingFor = nil
return
end
if processed then return end
if input.KeyCode == clickKey then
setClick(not clickEnabled)
elseif input.KeyCode == rebirthKey then
setRebirth(not rebirthEnabled)
end
end)
--// Draggable title bar
local dragging = false
local dragStart
local startPos
local activeTouch
title.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = frame.Position
if input.UserInputType == Enum.UserInputType.Touch then
activeTouch = input
end
end
end)
UIS.InputChanged:Connect(function(input)
if not dragging then return end
local movingMouse =
input.UserInputType == Enum.UserInputType.MouseMovement
local movingTouch =
input.UserInputType == Enum.UserInputType.Touch
and input == activeTouch
if movingMouse or movingTouch then
local delta = input.Position - dragStart
frame.Position = UDim2.new(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
end
end)
UIS.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or (activeTouch and input == activeTouch) then
dragging = false
activeTouch = nil
end
end)
updateUI()
Review the source before using it. Executions count successful copies, capped at 10 per user and network per script in 24 hours.


Your community, in one place