Anti-aimbot that uses YOLOv3-tiny to detect enemies and push your crosshair AWAY from them. The closer the enemy is to your crosshair, the stronger the repulsion — like an inverse magnet.
- Captures a 250×250 pixel region from the center of your screen (GDI BitBlt)
- Runs YOLOv3-tiny inference via OpenCV DNN to detect targets
- For each detected target, calculates a repulsion vector away from it
- Smoothly pushes the cursor in the opposite direction — closer enemy = stronger push
force = STRENGTH × (1 - distance / max_range)
push = -normalized_direction × force × MAX_PUSH
| Key | Action |
|---|---|
| Right Shift | Toggle anti-aimbot on/off |
Edit defines.h to tweak behavior:
#define ANTI_AIM_STRENGTH 1.0f // repulsion multiplier (0.5 = subtle, 2.0 = aggressive)
#define ANTI_AIM_MAX_PUSH 15.0f // max pixels per frame
#define ANTI_AIM_TOGGLE_KEY VK_RSHIFT // toggle key- Windows
- Visual Studio 2019+
- OpenCV 4.5+ (install guide)
Place these in the same directory as the executable:
You can train on custom game-specific datasets: https://github.com/AlexeyAB/darknet
- Install OpenCV 4.5+ — follow this guide to set up OpenCV for Visual Studio
- Clone this repo
git clone https://github.com/silverhans/anti-aimbot.git - Open
ez-neural-network-aim.slnin Visual Studio 2019+ - Set OpenCV paths in project properties:
- C/C++ → Additional Include Directories →
C:\opencv\build\include - Linker → Additional Library Directories →
C:\opencv\build\x64\vc15\lib - (adjust paths to match your OpenCV installation)
- C/C++ → Additional Include Directories →
- Build as Release x64
- Download YOLO files and place them next to the
.exe:yolov3-tiny.cfgyolov3-tiny.weightscoco-dataset.labels— text file with COCO class names (one per line: person, bicycle, car, ...)
- Run the exe, launch your game
- Right Shift to toggle on/off
MIT