The most unique nospread and norecoil AHK macro.
This script makes your mouse move in small square making you unable to shoot precisely at one point, but reducing recoil and spread on every weapon.
Works only when LeftMouseButton is pressed.
Can be useful in many shooters.
Hotkeys: Caps=Pause; LMB=working loop; End=exit;
Code:
#NoEnv
SendMode Input
~CapsLock::Suspend
~End::ExitApp
~*$LButton::
Loop
{
GetKeyState, state, Lbutton, P
if state=u
break
mouseXY(3,0)
sleep 1
mouseXY(0,10)
sleep 1
mouseXY(-3,-10)
sleep 1
mouseXY(-3,0)
sleep 1
mouseXY(3,10)
sleep 1
mouseXY(0,-10)
sleep 1
}
return
mouseXY(x,y)
{
DllCall("mouse_event",int,1,int,x,int,y,uint,0,uint,0)
}
Paste this in notepad and open with AHK.
Ahk scripts are not cheats, so you will get
no ban for using this.
additional script
Script for semiauto sniper rifles (Buck and Twitch), fast shooting when left mouse button is held, works well only with my resolution, fov, and mouse sens. Idea is clear and you can change it for yourself
#NoEnv
SendMode Input
~CapsLock::Suspend
~End::ExitApp
~*LButton::
Loop
{
GetKeyState, state, Lbutton, P
if state=u
break
MouseClick, left, , , 1, 99, D
Sleep 32
GetKeyState, state, Lbutton, P
if state=u
break
MouseClick, left, , , 1, 99, U
Sleep 35
mouseXY(0,6)
GetKeyState, state, Lbutton, P
if state=u
break
}
return
mouseXY(x,y)
{
DllCall("mouse_event",int,1,int,x,int,y,uint,0,uint,0)
}
Dont forget to press that "Thanks" button, please. So I tested, this is close to being a no-recoil, but the screen shakes a lot, if it is possible to decrease this will work perfectly. : D
Good job
I have my shooting button on alt, any way of customizing it?
You're literally jesus. Thank you so much.
I can make standalone exe for this if someone needs.