Please help

Ask gaming related questions (AHK v1.1 and older)
geps
Posts: 8
Joined: 19 Sep 2020, 11:36

Please help

20 Sep 2020, 12:21

I want to combine this two codes but i can't.My goal is make a autoclicker when you hold the button and when you release it stops.
I have this two codes

Code: Select all

LButton::
;Actions to do when LButton is pressed
return

LButton up::
;Actions to do when LButton is released
return

Code: Select all

loop
{
click
sleep 35
}
User avatar
Yakshongas
Posts: 590
Joined: 21 Jan 2020, 08:41

Re: Please help

20 Sep 2020, 16:57

Use this code:

Code: Select all

;SetMouseDelay, -1, -1

$LButton::
While, GetKeyState("LButton", "P")
{
    Click
}
Return
Also, if you want to make it crazy fast remove the semicolon from the first line and you will get this result in your clicking speed.
NewCanvas1.png
NewCanvas1.png (77.59 KiB) Viewed 665 times
Please mark your topics as solved if you don't need any further help. ✅

Need a little more help? Discord : Yakshongas#9893 🕹
geps
Posts: 8
Joined: 19 Sep 2020, 11:36

Re: Please help

21 Sep 2020, 06:43

how do i make it slower
geps
Posts: 8
Joined: 19 Sep 2020, 11:36

Re: Please help

21 Sep 2020, 06:53

@Yakshongas like 15-16 cps i need
User avatar
Yakshongas
Posts: 590
Joined: 21 Jan 2020, 08:41

Re: Please help

21 Sep 2020, 07:51

Like this the CPS is around 16.33

Code: Select all

SetMouseDelay, 30

$LButton::
While, GetKeyState("LButton", "P")
{
    Click
}
Return
Please mark your topics as solved if you don't need any further help. ✅

Need a little more help? Discord : Yakshongas#9893 🕹
geps
Posts: 8
Joined: 19 Sep 2020, 11:36

Re: Please help

21 Sep 2020, 14:15

how i make it right click
User avatar
Yakshongas
Posts: 590
Joined: 21 Jan 2020, 08:41

Re: Please help

21 Sep 2020, 19:05

Change the sixth line with Click, Right
Please mark your topics as solved if you don't need any further help. ✅

Need a little more help? Discord : Yakshongas#9893 🕹
geps
Posts: 8
Joined: 19 Sep 2020, 11:36

Re: Please help

22 Sep 2020, 01:50

how do i make it work with
Lbutton
Lbutton&ctrl
Lbutton&shift
like i need to do it when i sprint too
and i want to make it some delayed like when i hold the button it will do the command like 3 secs later
User avatar
Yakshongas
Posts: 590
Joined: 21 Jan 2020, 08:41

Re: Please help

22 Sep 2020, 10:36

Code: Select all

Lbutton::
LButton & LControl::
LButton & LShift::
    Sleep, 3000
    While, GetKeyState("LButton", "P")
    {
        Click
    }
Return
Please mark your topics as solved if you don't need any further help. ✅

Need a little more help? Discord : Yakshongas#9893 🕹
geps
Posts: 8
Joined: 19 Sep 2020, 11:36

Re: Please help

25 Sep 2020, 15:31

when i use this code i cant use my normal left click
User avatar
firetofire123
Posts: 13
Joined: 30 Aug 2020, 18:41
Location: California
Contact:

Re: Please help

28 Sep 2020, 12:26

I recommend if you are going to ask him for help, you should ask nicer. Also I'll look at the code why you can't left click.
-firetofire123

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: sofista and 149 guests