AutoIt NoRecoil
This is a AutoIt norecoil script code, if u wanna use it u need to install AutoIt fisrt. It can be found at the official site, just google it.
Code:
#Include <constants.au3>
#include <buttonconstants.au3>
#include <staticconstants.au3>
#include <statusbarconstants.au3>
#include <windowsconstants.au3>
#include <misc.au3>
#include <WinAPI.au3>
#include <Sound.au3>
#include <Array.au3>
#include <EditConstants.au3>
#include <MsgBoxConstants.au3>
#include <GDIPlus.au3>
;///Configurations///
;/ Here is where u change the shaking value
$shake = 10
;/ On/Off Hotkey
HotKeySet("{F1}", "nronoff")
;////////////////////
Global $shake, $nronoff, $x, $y
While 1
If $nronoff = "1" then
If _IsPressed(01) then
recoil()
EndIf
EndIF
WEnd
Func nronoff ()
Switch $nronoff
Case "1"
$nronoff = 0
Case Else
$nronoff = 1
EndSwitch
EndFunc
Func recoil()
nrmove(0, $shake)
Sleep (10)
nrmove($shake, 0)
Sleep (10)
nrmove(0, -$shake)
Sleep (10)
nrmove(-$shake, 0)
Sleep (10)
EndFunc
Func nrmove($x, $y)
_WinAPI_Mouse_Event(0x0001, $x, $y)
EndFunc
