local vu = game:GetService("VirtualUser") local UIS = game:GetService("UserInputService") local enabled = false UIS.InputBegan:Connect(function(input, gpe) if input.KeyCode == Enum.KeyCode.F and not gpe then enabled = not enabled print("Auto Click:", enabled) end end) task.spawn(function() while true do task.wait(0.2) if enabled then vu:Button1Down(Vector2.new(0,0), workspace.CurrentCamera.CFrame) vu:Button1Up(Vector2.new(0,0), workspace.CurrentCamera.CFrame) end end end)