I need help with an autoclicker script

Ask gaming related questions (AHK v1.1 and older)
xLegxnd_
Posts: 11
Joined: 22 Mar 2018, 12:59

I need help with an autoclicker script

27 Mar 2020, 04:26

Hi!
Sorry im very new to scripts and would love if someone could help me out. I want an autoclicker which clicks right click not left click. Thats all would love for someone to create a code that i can paste😁
Currently my code is this

Code: Select all

Clicker:=false
loop
{
getkeystate, state, F6
if state = D
{
Clicker:=true
}
 
getkeystate, state, F7
if state = D
{
Clicker:=false
}
 
}
 
 
*~$LButton::
 
While Clicker==true && getkeystate("LButton", "P") {
 
click
sleep 21
 
 
}
return
[Mod edit: [code][/code] tags added]


However it isnt right clicking only left clicking not sure why would appreciate some help
Last edited by xLegxnd_ on 29 Mar 2020, 09:29, edited 2 times in total.
Sid4G
Posts: 48
Joined: 02 Apr 2016, 19:11

Re: I need help with an autoclicker script

27 Mar 2020, 04:38

This forum lately is just a cheat forum: always kids asking for cheats and others giving them for free. AHK is destroying online gaming just like any other cheating site.
xLegxnd_
Posts: 11
Joined: 22 Mar 2018, 12:59

Re: I need help with an autoclicker script

27 Mar 2020, 04:41

Sid4G wrote:
27 Mar 2020, 04:38
This forum lately is just a cheat forum: always kids asking for cheats and others giving them for free. AHK is destroying online gaming just like any other cheating site.
I know that but will you be willing to help?
gregster
Posts: 8916
Joined: 30 Sep 2013, 06:48

Re: I need help with an autoclicker script

27 Mar 2020, 04:42

Sid4G wrote:
27 Mar 2020, 04:38
This forum lately is just a cheat forum: always kids asking for cheats and others giving them for free. AHK is destroying online gaming just like any other cheating site.
Strange, I thought you were the guy who was trying to lure these people onto your personal discord or into PMs.
xLegxnd_
Posts: 11
Joined: 22 Mar 2018, 12:59

Re: I need help with an autoclicker script

27 Mar 2020, 04:48

@gregster
I accidentally put the topic was solved🤦🏼‍♂️🤦🏼‍♂️ Could you be willing to help thanks!
gregster
Posts: 8916
Joined: 30 Sep 2013, 06:48

Re: I need help with an autoclicker script

27 Mar 2020, 04:50

Sorry, I don't use AHK for games and I am too busy for this at the moment.
I accidentally put the topic was solved
No problem. I removed the marking (now it's 'unsolved' again.)
User avatar
Yakshongas
Posts: 590
Joined: 21 Jan 2020, 08:41

Re: I need help with an autoclicker script

27 Mar 2020, 09:59

Code: Select all

#MaxThreadsPerHotKey, 2
Toggle :=0
F1::
Toggle :=!Toggle
While (Toggle=1)
{
	Click, Right
	sleep, 50
}
return
Please mark your topics as solved if you don't need any further help. ✅

Need a little more help? Discord : Yakshongas#9893 🕹
xLegxnd_
Posts: 11
Joined: 22 Mar 2018, 12:59

Re: I need help with an autoclicker script

28 Mar 2020, 03:28

Yakshongas wrote:
27 Mar 2020, 09:59

Code: Select all

#MaxThreadsPerHotKey, 2
Toggle :=0
F1::
Toggle :=!Toggle
While (Toggle=1)
{
	Click, Right
	sleep, 50
}
return

What button do you use to toggle it?
xLegxnd_
Posts: 11
Joined: 22 Mar 2018, 12:59

Re: I need help with an autoclicker script

28 Mar 2020, 03:55

Yakshongas wrote:
27 Mar 2020, 09:59

Code: Select all

#MaxThreadsPerHotKey, 2
Toggle :=0
F1::
Toggle :=!Toggle
While (Toggle=1)
{
	Click, Right
	sleep, 50
}
return
I accidentally solved it that was an accident it isnt solved yet thanks
Sid4G
Posts: 48
Joined: 02 Apr 2016, 19:11

Re: I need help with an autoclicker script

01 Apr 2020, 15:37

gregster wrote:
27 Mar 2020, 04:42
Sid4G wrote:
27 Mar 2020, 04:38
This forum lately is just a cheat forum: always kids asking for cheats and others giving them for free. AHK is destroying online gaming just like any other cheating site.
Strange, I thought you were the guy who was trying to lure these people onto your personal discord or into PMs.
And you are the guy responsible for making this forum unreliable mess dedicated to cheaters.
gregster
Posts: 8916
Joined: 30 Sep 2013, 06:48

Re: I need help with an autoclicker script

01 Apr 2020, 19:43

Sid4G wrote:
01 Apr 2020, 15:37
gregster wrote:
27 Mar 2020, 04:42
Sid4G wrote:
27 Mar 2020, 04:38
This forum lately is just a cheat forum: always kids asking for cheats and others giving them for free. AHK is destroying online gaming just like any other cheating site.
Strange, I thought you were the guy who was trying to lure these people onto your personal discord or into PMs.
And you are the guy responsible for making this forum unreliable mess dedicated to cheaters.
Oh, that's a first. :)

What about you start contributing to the forum in a constructive way (I told you before, so last chance now) - you don't have to focus on games at all, if you feel appalled by it (but perhaps you shouldn't try to hawk your own cheats then - at least, it would help to take you more seriously). There are plenty of other topics... give me a holler, if you want to close your account instead.
michael rosen
Posts: 1
Joined: 18 Apr 2021, 04:02

Re: I need help with an autoclicker script

18 Apr 2021, 04:06

Yakshongas wrote:
27 Mar 2020, 09:59

Code: Select all

#MaxThreadsPerHotKey, 2
Toggle :=0
F1::
Toggle :=!Toggle
While (Toggle=1)
{
	Click, Right
	sleep, 50
}
return
is there a way to lower the cps?
mosnetic
Posts: 2
Joined: 17 Apr 2021, 14:03

Re: I need help with an autoclicker script

18 Apr 2021, 05:11

michael rosen wrote:
18 Apr 2021, 04:06
Yakshongas wrote:
27 Mar 2020, 09:59

Code: Select all

#MaxThreadsPerHotKey, 2
Toggle :=0
F1::
Toggle :=!Toggle
While (Toggle=1)
{
	Click, Right
	sleep, 50
}
return
is there a way to lower the cps?
Change the sleep value to like 100 or 200 :)

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: hugojans, Pumpk11nnn and 66 guests