Rapid Fire Help Please...

Posts 1–4 of 4 · Page 1 of 1
Rapid Fire Help Please...
Hey Guys..
I Need help.
I Want a ahk Script working for Blackops (AK47 + Python)
Please Can Someone Make me One Or Just Edit This Source?
Thanks !
Code:
#SingleInstance
gActivateScript = 0

; Insert to activate the macro
~F12::
KeyWait, F12
GetKeyState, HomeState, F12, T
If HomeState = D
{
    gActivateScript = 1

}
else
{
    gActivateScript = 0

}
return

; CTRL + SHIFT + LBUTTON to activate the macro
~+^LButton::
If gActivateScript = 0
{
    gActivateScript = 1

}
else
{
    gActivateScript = 0

}
return

;Also applies to burst weapons. ie click and hold will perform like a full auto firing mode
~LButton::
Goto, DoFiringLoop
Return

;When crouching and firing at the same time. Using Ctrl as crouch button
~^LButton::
Goto, DoFiringLoop
Return

DoFiringLoop:
if gActivateScript = 1
{
    Loop
    {
        IfWinActive, Call of Duty®: BlackOps
{
            MouseClick, left,,, 1, 0, D
           ;delay between simu. mouse btn down and up
            Sleep, 0
            MouseClick, left,,, 1, 0, U
            GetKeyState, LButtonState, LButton, P
            If LButtonState = U
            {
               ;break the loop if physical state of mouse btn is up.
                break
            }
           ;delay between each simu. click events
            Sleep, 75
        }
        else
        {
            break
        }
    }
   
}
exit

return
This One works only in the Game Menu and not when i press LButton in game !
oh wait sorry xd I read it wrong
this is an old script i used for MW2 worked fine but it does not sync to window add the code if you want it so if you turn it on and forget your mouse will click rapid on anything you click.

Code:
#SingleInstance force

Ins::Suspend
$LButton::
Loop
{
SetMouseDelay 30 'change this to a number less then 30 for faster firing and 
'higher for slower rates
Click
If (GetKeyState("LButton","P")=0)
Break
}
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us