gitwtfhub

wtf is khj_fh6_ahk2?

rossvs/khj_fh6_ahk2 — explained in plain English

Analysis updated 2026-05-18

1AutoHotkeyAudience · generalComplexity · 2/5Setup · easy

TL;DR

An AutoHotKey script that automates grinding tasks in Forza Horizon 6, like farming skill points and in-game currency, by simulating button presses.

Mindmap

mindmap
  root((FH6 Autobuy Script))
    What it does
      Farms skill points
      Farms in game currency
      Auto spends on wheel spin
      Gifts duplicate cars
    Tech stack
      AutoHotKey v2
    Use cases
      Grind currency faster
      Automate repetitive races
      Photograph car collection
    Audience
      Forza Horizon 6 players
    Risks
      May violate game EULA
      Fragile button simulation

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Automatically restart a race event repeatedly to farm skill points overnight.

REASON 2

Loop a short race to earn in-game currency without manual driving.

REASON 3

Automatically spend skill points on the Super Wheel Spin perk.

REASON 4

Photograph every car in a garage automatically to earn reward points.

What's in the stack?

AutoHotKey

How do you spin it up?

Difficulty · easy Time to first run · 30min

Requires installing AutoHotKey v2 and manually configuring in-game settings before each routine, may violate the game's terms of service.

The README does not state a license.

Wtf does this do

This project is a script for the racing video game Forza Horizon 6 that automates repetitive grinding tasks using AutoHotKey, a tool that simulates keyboard and mouse presses. It is not an official game feature and works by pressing buttons in a fixed sequence, so it does not read anything from the screen and can break if the game is updated or the sequence gets interrupted. The script offers several automated routines, each tied to a function key. One farms skill points by repeatedly starting and restarting a chosen in game event, another farms in game currency by looping short races with a specific car, and a third automatically spends skill points on a wheel spin feature after buying a particular car. There is also a routine for gifting duplicate cars to other players, one for taking photos of every car in your garage to earn reward points, and a simple anti-idle feature that switches the radio station every minute so an autopilot feature does not time out. Using the script requires installing AutoHotKey version 2 and then running the script file, along with manually setting up specific in game conditions before pressing each hotkey, such as choosing a certain car, adjusting difficulty settings, or standing in a particular spot. The author notes this method is fragile since it does not check what is actually happening on screen, so results depend on consistent timing and hardware performance. There is an emergency exit hotkey to stop everything immediately if it misbehaves. The author is upfront that using this kind of automation could violate the game's terms of service, and offers no support beyond the instructions provided, inviting others to copy and modify the script for their own needs. The script was tested on a specific version of the game and a mid range gaming PC, and the author also shares several custom in game event codes at the end of the README as a way for users to give back.

Yoink these prompts

Prompt 1
Explain what each hotkey in this Forza Horizon 6 AutoHotKey script does.
Prompt 2
Walk me through installing AutoHotKey v2 and running this script.
Prompt 3
How would I edit this script to match a different race's lap time for the credit farming routine?
Prompt 4
What risks should I know about before using an automation script like this in an online game?
Prompt 5
Show me how to compile this AutoHotKey script into a standalone exe file.

Frequently asked questions

wtf is khj_fh6_ahk2?

An AutoHotKey script that automates grinding tasks in Forza Horizon 6, like farming skill points and in-game currency, by simulating button presses.

What language is khj_fh6_ahk2 written in?

Mainly AutoHotkey. The stack also includes AutoHotKey.

What license does khj_fh6_ahk2 use?

The README does not state a license.

How hard is khj_fh6_ahk2 to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is khj_fh6_ahk2 for?

Mainly general.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.