I need help with making an autoclick. Topic is solved

Ask gaming related questions (AHK v1.1 and older)
Fortbat
Posts: 1
Joined: 31 May 2021, 10:30

I need help with making an autoclick.

Post by Fortbat » 04 Dec 2021, 15:26

I want to have an autoclick that clicks 12 cps, while holding left button, suspended with ctrl + F.
I tried making one but it just doesn't work properly...

Code: Select all

Lbutton::
Loop
{
	Click
	Sleep 50
}
Return
*F::
Suspend
Return
[Mod edit: [code][/code] tags added.]

User avatar
Xtra
Posts: 2750
Joined: 02 Oct 2015, 12:15

Re: I need help with making an autoclick.  Topic is solved

Post by Xtra » 04 Dec 2021, 16:27

Code: Select all

LButton::
While GetKeyState("LButton","P")
{
	Click
	Sleep, 75    ; roughly 12 cps YMMV adjust as needed
}
Return

^f::Suspend

Post Reply

Return to “Gaming Help (v1)”