Auto clicker script
Key RequiredUniversal

Auto clicker script

Universal ScriptTrollismemangomamgoTrollismemangomamgo 8.4K views 774 executesUpdated Jul 15, 2025
Unrated
00
Lua Script•80 lines (2454 chars)
local player = game.Players.LocalPlayer
local vim = game:GetService("VirtualInputManager")
local gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
gui.Name = "StaticAutoClickerGUI"
gui.ResetOnSpawn = false
gui.IgnoreGuiInset = true

-- STATIC CENTER CIRCLE
local circle = Instance.new("Frame")
circle.Size = UDim2.new(0, 80, 0, 80)
circle.AnchorPoint = Vector2.new(0.5, 0.5)
circle.Position = UDim2.new(0.5, 0, 0.5, 0)
circle.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
circle.BackgroundTransparency = 0.1
circle.ZIndex = 10
circle.BorderSizePixel = 0
circle.Parent = gui

local corner = Instance.new("UICorner", circle)
corner.CornerRadius = UDim.new(1, 0)

local label = Instance.new("TextLabel", circle)
label.Size = UDim2.new(1, 0, 1, 0)
label.BackgroundTransparency = 1
label.Text = "AUTO\nCLICK"
label.TextColor3 = Color3.fromRGB(255, 255, 255)
label.Font = Enum.Font.GothamBold
label.TextSize = 14
label.TextWrapped = true

-- Start/Stop Button
local toggleBtn = Instance.new("TextButton", gui)
toggleBtn.Size = UDim2.new(0, 180, 0, 40)
toggleBtn.Position = UDim2.new(0.05, 0, 0.1, 0)
toggleBtn.Text = "Start GIGA Clicker"
toggleBtn.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
toggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
toggleBtn.Font = Enum.Font.GothamBold
toggleBtn.TextSize = 16
toggleBtn.BorderSizePixel = 0
toggleBtn.Draggable = true

-- Destroy GUI Button
local destroyBtn = Instance.new("TextButton", gui)
destroyBtn.Size = UDim2.new(0, 180, 0, 30)
destroyBtn.Position = UDim2.new(0.05, 0, 0.1, 45)
destroyBtn.Text = "Destroy GUI"
destroyBtn.BackgroundColor3 = Color3.fromRGB(120, 0, 0)
destroyBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
destroyBtn.Font = Enum.Font.Gotham
destroyBtn.TextSize = 14
destroyBtn.BorderSizePixel = 0
destroyBtn.MouseButton1Click:Connect(function()
	gui:Destroy()
end)

-- Auto clicker variables
local clicking = false
local viewportSize = workspace.CurrentCamera.ViewportSize
local centerX, centerY = viewportSize.X / 2, viewportSize.Y / 2

-- Loop
local function startClicking()
	while clicking do
		vim:SendMouseButtonEvent(centerX, centerY, 0, true, game, 0)
		vim:SendMouseButtonEvent(centerX, centerY, 0, false, game, 0)
		task.wait(0.001) -- 1000 CPS
	end
end

-- Toggle
toggleBtn.MouseButton1Click:Connect(function()
	clicking = not clicking
	if clicking then
		toggleBtn.Text = "Stop AUTO Clicker"
		startClicking()
	else
		toggleBtn.Text = "Start AUTO Clicker"
	end
end)

Features & Information

Auto clicker

Community Comments (1)

bruwobruwoNov 10, 2025

it’s good, but I think there should be a toggle key to control the autoclick, since I couldn’t turn it off

More Scripts for Universal Scripts