This project is a Python script for automatically moving the mouse in games using the PyAutoGUI and Pynput libraries.
- Install Python if you don't have it. Download Python
- Clone the repository:
git clone [https://github.com/<your-username>/<your-project>](https://github.com/FasadSalatov/Python-Script-AFK-for-games/tree/main)https://github.com/FasadSalatov/Python-Script-AFK-for-games/.git cd <Python-Script-AFK-for-games>
python -m venv venv
venv\Scripts\activate
source venv/bin/activate
pip install -r requirements.txt
python main.py
If needed, adjust script parameters such as the number of steps for slow movement directly in the main.py
file.
if key == keyboard.Key.space:
if key == keyboard.Key.enter: