0% found this document useful (0 votes)
4K views1 page

Basic No Recoil Script

This script uses the Logitech G Hub to automatically control mouse recoil in games. It enables primary mouse button events, then checks if Num Lock is on and a mouse button is pressed. If so, it repeatedly moves the mouse downwards a small amount and waits briefly, continuing until the button is released to pull the mouse down and counter recoil. Adjusting the movement amount and speed can control how strongly and quickly it counters recoil.

Uploaded by

ypdl
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4K views1 page

Basic No Recoil Script

This script uses the Logitech G Hub to automatically control mouse recoil in games. It enables primary mouse button events, then checks if Num Lock is on and a mouse button is pressed. If so, it repeatedly moves the mouse downwards a small amount and waits briefly, continuing until the button is released to pull the mouse down and counter recoil. Adjusting the movement amount and speed can control how strongly and quickly it counters recoil.

Uploaded by

ypdl
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

CODE: (copy from below)

EnablePrimaryMouseButtonEvents(true);
function OnEvent(event, arg)
if IsKeyLockOn("numlock")then
if IsMouseButtonPressed(1) then
repeat
MoveMouseRelative(0,6)
Sleep(1,2)
until not IsMouseButtonPressed(1)
end
end
end

___________________________________________________________________________________
__________________________________________________________

general solutions:

1) Don't play in Vulkan otherwise it may not work properly.

2) This is totally SFW, there are 99.99% of chances that you don't get
banned using this - it's
all processes reside within your mouse so even if it turns out that
your recoil control is too
accurate, they can not ban you without such an evidence of using any
3rd party cheating
app or software.

3) You can change recoil according to your choice by changing value in


function "Change MoveMouseRelative()"
The minimum value that you can put is 1 (if you want it to pull down
more, you can increase it) For instance, you can put 10 instead of 6 like this:
Change MoveMouseRelative(0,10)

And in case you want to pull slower, you should try: Change
MoveMouseRelative(0,2)

The higher the number, it will pull your aim downwards in greater
amount in the terms of controlling recoil.

4) Ghub's script editor is shit.. often times, it wont update new


changes(sometimes) in buffer memory
for existing scripts and macros if you countinuously update new
changes...try creating new script after restarting all g hub services and run g hub
in admin mode if this happens.

5) If you still need help, you can hit the command: #r6scripthelp
in #💬main-chat or post your issue directly.

PS: you can ofc use the same script for any other FPS game to control recoil. HF

You might also like