The AHK script in the Apex Legends game does automatic shooting at the Peacemaker shotgun when you press and hold the left mouse button, after the 6th shot, the reload will occur.
In the case of single clicks, not too fast, shooting moments can be normal and reloading will need to be done manually.
If you press too quickly, there may be glitches in shooting.
For the script to work, it is necessary that the Peacemaker is the second weapon.
Figures: 600-800 in the title is the rate of fire of one shot in milliseconds, the higher the number, the more stable the shooting, but slower.
The script works only in the game and on any mouse.
After running the script, the script starts working immediately. If necessary, the script can be paused by scrolling the wheel forwards once - “WheelUp”, the repeated scrolling resumes the script. The script is closed with the help of "ctrl + ESC".
In scripts whose names are present - "WheelUp" means that shooting is done by scrolling the wheel forward, reloading is done manually. Closing such a script is done with the help of "ctrl + ESC", and pressing "alt + ESC" pauses the script, and pressing it again resumes.
Attention!!! Despite the fact that the script does not interfere with the code of the game, but emulates mouse clicks and keystrokes, opposition from the game developer is possible. Therefore, the script is protected using VMProtect, but for some antiviruses it may be suspicious, so if necessary, add the script to the antivirus exclusion list.
I also recommend renaming the script before use and launching it before the game, having previously hidden it after launch, with the help of some kind of program - folder protect.