Tested on the FLATLINE in Apex Legends. Nearly 100% accurate. This script jitter your aim so that the shots go in the center. Use sentivirty 2 for best results. It was tweaked so that all shots hit the target without needing to ajust anything.
Download the program (Download) and go to the macro editor
press the button «Open file»
and select the downloaded file
assign a macro to a key and run the program