An aimbot that uses Yolov5 and PyTorch to play CS:GO. It is able to identify the characters from both teams and their heads. It uses pyautogui to handle the aim movement and mouse click.
Currently, only Linux is supported.
You have to turn OFF the Raw Input option in the game. Otherwise, the mouse signal goes straight to the game engine without passing through the operating system and pyautogui can't handle it properly.
This setting is under the Mouse & Keyboard tab:
To clone and install this application you will need Git and Python>=3.9.0.
# Clone this repository
git clone https://github.com/daniabib/csgo-aimbot.git
# Go into the repository
cd csgo-aimbot
# Install required libraries
pip install -r requirements.txt
I suggest that the game is already open in the background before launching the model.
To run the app just execute the main script:
python aim-bot.py
The model will be running in the background. As soon as it detects a CS:GO character it will activate the pyautogui engine to move the mouse and shoot.
The intent of this repository is exclusively educational. It has no intention of being a way of cheating in the game. I advise that you use it only on your own server. If you use it in a Valve server it will probably detect suspicious activities and your account can be banned.