Automation tool for Cookie Run Classic

Crumble Script plays your Cookie Run Classic account for you on Android emulators, right from your terminal. Open source Python, no installer.

git clone https://github.com/Vixaus/crumble-script

Python 3.12+ · Windows 10/11

Crumble Script running on two emulators.

Runs, chests and the chores in between

Pick a mode in each emulator's config file, and Crumble Script handles the rest.

Auto Run

Plays runs back to back. It jumps, plays the relay cookie and opens the reward box after each run.

127.0.0.1_16384.json
{
"Mode": "Auto_Run",
"Auto_Jump": true,
"Auto_Jump_Delay": [
0.1,
0.8
],
"Fast_Start": false,
"Cookie_Relay": true,
"Quit_Match": false,
"Quit_Match_At": 0,

Auto Treasure

Draws 5,000-coin treasures with your coins until your inventory is full, then extracts them for magic powder. It can keep Choc Cookie treasures.

127.0.0.1_16384.json
{
"Mode": "Auto_Treasure",
"Keep_Choc_Cookie": true,
"Webhook_URL": ""
}
  • Boosts

    Buys the Hp, Power and Xp boosts you pick. It rerolls the random boost until it lands on one you want.

  • Lobby chores

    Collects lives from your mailbox once it has enough mail, and claims stage relics.

  • Discord results

    Posts each run, treasure batch and relic to your Discord channel through a webhook.

  • Multiple emulators

    Runs on several MuMu Player 12 or LDPlayer instances at once, each with its own JSON file.

It looks at the screen and taps, like you would

It only sees the screen and taps it. It doesn't change game files or read game memory.

  1. See

    Takes a screenshot of the emulator through ADB.

  2. Recognize

    Finds the current screen and its buttons with OpenCV, and reads coins and other numbers with EasyOCR.

  3. Tap

    Taps the right button through ADB, at a random spot inside it.

Repeats until you press Ctrl+C, on every emulator at once.

Set up Crumble Script on MuMu Player or LDPlayer

Pick a guide and follow along. Press a step to jump to it.

Install Python

Crumble Script runs on Python. Install it once.

  1. Open python.org/downloads and press Download Python. Any version from 3.12 up works.

  2. Open the installer, tick Add python.exe to PATH, then press Install Now.

  3. Open a terminal and run python --version. It prints the version you installed.

If python opens the Microsoft Store instead, run the installer again and tick Add python.exe to PATH.

Questions, answered.

What is Crumble Script?

Crumble Script is the free, open-source Python version of Crumble. It plays Cookie Run Classic for you on Android emulators, from your terminal.

Is it free?

Yes. Crumble Script is free and open source, and its code is on GitHub.

What can it automate?

Runs back to back, drawing and extracting treasures, boosts and lobby chores. It can post results to Discord.

Does it change game files or read game memory?

No. It takes screenshots of the emulator and taps buttons through ADB, like you would.

Does it work on Mac or on my phone?

No. Crumble Script needs Windows, Python and an Android emulator.

Can my account get banned?

Any automation can break the game's terms. Crumble Script taps at a random spot inside each button, but use it at your own risk.