Code:
#NoEnv
#InstallKeybdHook
#InstallMouseHook
~LButton:: ; while holding Left mouse button, usually fire
loop ; preform this and loop it while the fire button is held
{
GetKeyState,updn, LButton, P ; check to see if its down
if updn = U ; if its not down
break ; break the loop
MouseClick, left,,, 2, 0, D ; if the loop isnt broken this
MouseClick, left,,, 1, 0, U ; virtually send 2 downclicks then 1 up very fast
DllCall("mouse_event", uint, 1, int, 0, int, 1, uint, 0, int, 1) ; on the down click move the mouse position this much
}
F6::Suspend
I found this code around MPGH and so far its the best working one without going too crazy, however, one problem I have is that everytime I left click which is shoot, it just suspends the script, I have no knowledge on scripts therefore I'm asking for your guys help.