Your ultimate aiming assistant for Counter-Strike 2
Features • Installation • Usage • Configuration • Troubleshooting • ContributingCS2 TriggerBot is an automated tool designed for Counter-Strike 2 that assists with precise aiming by automatically triggering a mouse click when an enemy is detected in the player's crosshairs. The tool features a graphical user interface (GUI) for easy configuration.
Official Telegram Channel:
Stay updated with the latest features, updates, and support for CS2 TriggerBot! Join our Telegram community here: CS2 TriggerBot Updates.
- Automatic Trigger: Fires your weapon when an enemy is detected under your crosshair.
- Configurable Trigger Key: Configure a keyboard key or mouse button (
x1
orx2
) as the trigger via the GUI orconfig.json
file. - Configurable Delays: Set minimum, maximum, and post-shot delays for more natural shooting behavior.
- Attack Teammates Option: Toggle friendly fire with a checkbox in the GUI.
- Offsets and Client Data: Automatically fetches the latest offsets and client data from remote sources.
- Logging: Detailed logs are saved in
%LOCALAPPDATA%\Requests\ItsJesewe\crashes\tb_logs.log
. - Update Checker: Automatically checks for updates from the GitHub repository.
- GUI Interface: Control the bot's behavior and configuration using the included graphical interface.
- Dynamic Config Update: Automatically detects and applies changes to the
config.json
file without restarting the bot.
You can install the trigger bot by cloning the repository or by downloading a pre-built executable file from the releases.
-
Clone the Repository:
git clone https://github.com/Jesewe/cs2-triggerbot.git cd cs2-triggerbot
-
Install Dependencies:
pip install -r requirements.txt
-
Run the Script:
python main.py
Alternatively, download the ready-to-use executable from the Releases page. Download the latest version and run the executable directly.
The config.json
file is automatically generated in the directory %LOCALAPPDATA%\Requests\ItsJesewe\
on the first run. You can modify the TriggerKey
in this file or via the GUI.
Example config.json
:
{
"Settings": {
"TriggerKey": "x",
"ShotDelayMin": 0.01,
"ShotDelayMax": 0.03,
"AttackOnTeammates": false,
"PostShotDelay": 0.1
}
}
- TriggerKey: The key or mouse button (
x
,x1
, orx2
) to activate the bot. - ShotDelayMin and ShotDelayMax: Control the delay between shots to simulate natural behavior.
- PostShotDelay: Set a delay after each shot for more controlled firing.
- AttackOnTeammates: Set to
true
to enable friendly fire.
- Launch Counter-Strike 2.
- Run the TriggerBot using the command mentioned above or by launching the GUI version.
- Adjust settings like
Trigger Key
,Shot Delay
,Post Shot Delay
andAttack Teammates
from the GUI. - The bot will automatically start functioning when the game is active.
- Failed to Fetch Offsets: Ensure you have an active internet connection and that the source URLs are accessible.
- Errors with Offsets after Game Update: After a Counter-Strike 2 game update, there may be issues with offsets, which can result in errors. In this case, please wait for updated offsets to be released.
- Could Not Open
cs2.exe
: Make sure the game is running and that you have the necessary permissions. - Unexpected Errors: Check the log file located in the log directory for more details.
Contributions are welcome! Please open an issue or submit a pull request on the GitHub repository.
This script is for educational purposes only. Using cheats or hacks in online games is against the terms of service of most games and can result in bans or other penalties. Use this script at your own risk.
This project is licensed under the MIT License. See the LICENSE file for details.