auto clicker
Key RequiredUniversal

auto clicker

Universal ScriptteamKKTteamKKT 8.9K views 166 executesUpdated Nov 2, 2025
2.5/ 5(2 votes)
1150% Positive
Lua Script•35 lines (1041 chars)
--// auto clicker \\--

local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()

local autoClickEnabled = false
local repeatInterval = -0.000000000000000000000001 -- Click interval (seconds)
local lastPressTime = 0

-- Function that actually simulates a left click
local function simulateClick()
	-- Trigger a left-click event
	mouse1click()
end

-- Press the G key to toggle ON/OFF
UserInputService.InputBegan:Connect(function(input, processed)
	if processed then return end
	if input.KeyCode == Enum.KeyCode.G then  --Enum.KeyCode.G then, you can enable it with KeyCode.(desired key).
		autoClickEnabled = not autoClickEnabled
		print("Left-click auto-click: " .. (autoClickEnabled and "ON" or "OFF"))
	end
end)

-- auto loop click
RunService.RenderStepped:Connect(function()
	if autoClickEnabled then
		if tick() - lastPressTime >= repeatInterval then
			lastPressTime = tick()
			simulateClick()
		end
	end
end)

Features & Information

auto click (G key)

Community Comments (2)

Nice ai script

getcustom*etgetcustom*etNov 2, 2025

ai slop

More Scripts for Universal Scripts