--// 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)