A smart bot for automatic credits and XP farming in Forza Horizon 6. Powered by OpenCV, it simulates throttle holding and handles restarts automatically.
The script uses computer vision (OpenCV) for real-time screen analysis and simulates player actions.
The script intercepts keystrokes globally, so the hotkeys will work directly during the game:
F5— StartF6— Stop
- Assisted Steering must be enabled in the game's difficulty settings.
- Go to the Releases section on the right side of this page and download the latest
.ziparchive. - Extract the archive into any folder on your PC.
- Run the
main.exefile as Administrator. - Press
F5in the race launch menu to start the autopilot andF6to stop it completely.
If you want to run the bot directly via Python:
- Windows OS and Python 3.10+ are required.
- Install the dependencies:
pip install opencv-python numpy pydirectinput keyboard mss
- Run the script:
python main.py(also as Administrator).