Hey guys, this time I'm bringing you a universal script, compatible with any weapon (manual configuration) and any game where you need to control recoil.
Features
Sliders to configure the values to your liking.
Weapon slot selection (PUBG): If you're only going to use an assault rifle in slot 2, activate that slot so that when you press the 1 key (where your rifle would be), the script won't be constantly pulling.
Pause the script: Pressing 3, 4, 5, 6, 7, 8, 9, 0, G, O, TAB, or ESC pauses the script. (Remember to press your weapon key again to reactivate it.)
Press the Home key to start or stop the script
Update
Added function to save configuration
Removed the X and C keys to pause script
Code:
Code:
if (GetAsyncKeyState(VK_HOME) & 0x1) Config::MasterActive = !Config::MasterActive;
if (GetAsyncKeyState('1') & 0x8000) Config::ScriptRunning = Config::Slot1_Enabled;
if (GetAsyncKeyState('2') & 0x8000) Config::ScriptRunning = Config::Slot2_Enabled;
if ((GetAsyncKeyState(VK_TAB) & 0x8000) || (GetAsyncKeyState(VK_ESCAPE) & 0x8000) ||
(GetAsyncKeyState('3') & 0x8000) || (GetAsyncKeyState('4') & 0x8000) ||
(GetAsyncKeyState('5') & 0x8000) || (GetAsyncKeyState('6') & 0x8000) ||
(GetAsyncKeyState('7') & 0x8000) || (GetAsyncKeyState('8') & 0x8000) ||
(GetAsyncKeyState('9') & 0x8000) || (GetAsyncKeyState('0') & 0x8000) ||
(GetAsyncKeyState('G') & 0x8000) || (GetAsyncKeyState('O') & 0x8000))
Movement method is now SendInPut, mouse_event removed
Code:
Code:
INPUT input = { 0 };
input.type = INPUT_MOUSE;
input.mi.dwFlags = MOUSEEVENTF_MOVE;
input.mi.dx = (LONG)x;
input.mi.dy = (LONG)y;
input.mi.dwExtraInfo = 0;
input.mi.time = 0;
SendInput(1, &input, sizeof(INPUT));
Video
Download
Enjoy and share!