oussama
Giggle Architect
2
MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1
300 XP
Hey guys, I recently wrote a small python script for my brother for the game Apex Legends. All the script does is when you toggle it on by numlock, and then hold down your left click, it will bring your reticle down a couple of pixels. I added a randomization feature where it will choose from intervals of time, horizontal travel, and verticle.
This is all really basic. My brother has used it for 2 weeks and no ban yet, so I decided to give it to you guys. This should work in any randomized recoil pattern game great, even though apex isnt, I believe anti-cheat will ban if we exactly match the spray pattern.
I would love to see what you guys can come up with if you edit the source code.
This is python, and if you do not know how to use it, don't. I am not going to make an exe out of it.
I also hear that Powershell has less chance of being detected, so run it in PowerShell.
Requirements are python3
optional VB
And you will need to PIP these
import pyautogui
import time
import win32api
import random
import keyboard
The default button to toggle is "num lock" but you can change it if you look up keyboard call signs.
I have brought the settings to the very top so you can change them easily.
You will have to go to the range to fine tune in your weapon, but the basic one I have right now I used for all the guns regardless.
For havoc, google spin up time and put that as min_fireate = blah blah.
Again, Let me know if you like it, hopefully it'll go undetected for a while, but always good to use in other games.
Here is my github.
and if you want the source code to copy without github here you go.
This is all really basic. My brother has used it for 2 weeks and no ban yet, so I decided to give it to you guys. This should work in any randomized recoil pattern game great, even though apex isnt, I believe anti-cheat will ban if we exactly match the spray pattern.
I would love to see what you guys can come up with if you edit the source code.
This is python, and if you do not know how to use it, don't. I am not going to make an exe out of it.
I also hear that Powershell has less chance of being detected, so run it in PowerShell.
Requirements are python3
optional VB
And you will need to PIP these
import pyautogui
import time
import win32api
import random
import keyboard
The default button to toggle is "num lock" but you can change it if you look up keyboard call signs.
I have brought the settings to the very top so you can change them easily.
You will have to go to the range to fine tune in your weapon, but the basic one I have right now I used for all the guns regardless.
For havoc, google spin up time and put that as min_fireate = blah blah.
Again, Let me know if you like it, hopefully it'll go undetected for a while, but always good to use in other games.
Here is my github.
You must upgrade your account or reply in the thread to view hidden text.
Code:
import pyautogui
import time
import win32api
import random
import keyboard
## Configuration
# Set the horizontal limit: 5 means a maximum of 5 pixels to the left or to the right every shot
horizontal_range = 2
# Set the minimum and maximum amount of pixels to move the mouse every shot
min_vertical = 1
max_vertical = 3
# Set the minimum and maximum amount of time in seconds to wait until moving the mouse again
min_firerate = 0.03
max_firerate = 0.04
# Set the toggle button
toggle_button = 'num lock'
# Set whether the anti-recoil is enabled by default
enabled = False
def is_mouse_down(): # Returns true if the left mouse button is pressed
lmb_state = win32api.GetKeyState(0x01)
return lmb_state < 0
# Some prints for startup
print("Anti-recoil script started!")
if enabled:
print("Currently ENABLED")
else:
print("Currently DISABLED")
last_state = False
while True:
key_down = keyboard.is_pressed(toggle_button)
# If the toggle button is pressed, toggle the enabled value and print
if key_down != last_state:
last_state = key_down
if last_state:
enabled = not enabled
if enabled:
print("Anti-recoil ENABLED")
else:
print("Anti-recoil DISABLED")
if is_mouse_down() and enabled:
# Offsets are generated every shot between the min and max config settings
offset_const = 1000
horizontal_offset = random.randrange(-horizontal_range * offset_const, horizontal_range * offset_const, 1) / offset_const
vertical_offset = random.randrange(min_vertical * offset_const, max_vertical * offset_const, 1) / offset_const
# Move the mouse with these offsets
win32api.mouse_event(0x0001, int(horizontal_offset), int(vertical_offset))
# Generate random time offset with the config settings
time_offset = random.randrange(min_firerate * offset_const, max_firerate * offset_const, 1) / offset_const
time.sleep(time_offset)
# Delay for the while loop
time.sleep(0.001)