← Back to Grow a Garden Macros
🌻
BEST V2

Cobalt Grow a Garden Macro (v2)

AutoHotkey • Free & Open Source

What Cobalt (v2) Is and What It Automates

If you've ever thought, "I wish I could AFK and wake up with a mountain of seeds, sprinklers, and eggs," Cobalt (v2) is designed for exactly that vibe: it automates repetitive "shop loop" actions inside the Roblox game Grow a Garden.

🎥 Video Tutorial:

From the GitHub README, Cobalt (v2) is a "100% free Grow a Garden (GAG) macro" and emphasizes being fast, clean, modern, and easy to extend.

From the transcript, the creator shows Cobalt buying selected items from:

  • Seed shop (only the seeds you check/select)
  • Gear shop (watering can, trading ticket, sprinklers, and more)
  • Egg shop (buying eggs you select)

Then it repeats in "cycles," restarting automatically when the next shop window/stock cycle occurs.

Quick Safety Notes (Automation Rules + Download Hygiene)

A couple important points before you install anything:

  • Game rules vary. Some games/communities consider AFK macroing cheating. If Grow a Garden or your server rules forbid automation, don't use it there.
  • Only download from official sources. For Cobalt, that means the official GitHub repo (and any official Discord that the author links).
  • Don't share webhook URLs. A leaked webhook isn't the end of the world, but it can be abused to spam your channel.

Where to Download (Official GitHub + Discord Requirement)

The official repo is here: https://github.com/Clovalt/Cobalt-Grow-a-Garden-Macro

The repo contains the Cobalt macro file and a README with basic install notes.

Download ZIP from GitHub

  1. Open the repo page
  2. Click the green Code button
  3. Click Download ZIP

Extract the Folder Correctly

  1. Right-click the downloaded ZIP
  2. Click Extract All
  3. Make sure you're running the macro from the extracted folder (not inside the ZIP)

This matters because macros often rely on bundled modules/files sitting beside the main .ahk script.

Install AutoHotkey the Right Way (Why v1.1 Matters)

Cobalt is written in AutoHotkey (AHK). The official site describes AutoHotkey as a free, open-source Windows scripting language used to automate tasks with hotkeys and scripts.

AutoHotkey Basics

  • AHK scripts typically end in .ahk
  • You run them by double-clicking (once AutoHotkey is installed)
  • Scripts can send keystrokes, mouse clicks, and control windows—perfect for macro-style automation

Which Version Should You Install?

Your transcript specifically says to download AutoHotkey v1.1 (not v2). That's common because many macro projects were built on v1.1 syntax.

Use the official AutoHotkey site as your starting point: https://www.autohotkey.com/

Running the Macro File

Once AutoHotkey v1.1 is installed, simply double-click the .ahk file to run it.

First-Time Setup Checklist (Roblox Settings That Make It Work)

Cobalt depends on consistent UI behavior. The creator calls out a few critical Roblox settings:

Camera & Movement Mode: Default

  • Camera mode: Default
  • Movement mode: Default

If your camera mode is locked to another style, the macro's navigation can drift or select weird UI spots.

UI Navigation Toggle: ON

Cobalt's GitHub README explicitly warns: enable UI navigation in settings.

Pets That Break Movement

The README also warns to unequip speed-changing pets (examples: Brown mouse, Raptor). Speed differences can break pathing/timing.

Cobalt's Big Features (From the Video Transcript)

Auto-Buy Seeds You Select

You can tick specific seeds (the creator uses things like carrot, corn, elder strawberry, giant pine cone, prismatics, etc.), and the macro will:

  • Open seed shop
  • Buy only the checked seeds if they're in stock
  • Skip items that aren't available

This is how people end up with huge seed stacks without babysitting shop timers.

Auto-Buy Gear You Select

The macro recalls/warps over to the gear shop and buys selected items (watering cans, tickets, sprinklers, etc.) automatically. The "shop recall" behavior is a big deal because it reduces the amount of walking/pathing you need to do manually.

Auto-Buy Eggs You Select

Same idea: choose what you want, and it checks the egg shop each cycle and buys what's available (or nothing, then tells you).

Repeating "Cycles"

The transcript shows the macro finishing a run, then waiting for the next cycle (example: "next cycle in 4 minutes"), then starting again automatically. That's the entire AFK value: set it once, let it repeat.

Discord Webhook Setup (Step-by-Step)

Webhooks are a simple way to have the macro notify you in Discord.

1) Turn on Developer Mode

In Discord:

  • Settings → Advanced
  • Toggle Developer Mode ON

2) Create a Webhook

  • Create (or choose) a private channel in your server
  • Right-click the channel → Edit Channel
  • Go to Integrations
  • Go to Webhooks
  • Click Create Webhook
  • Click Copy Webhook URL

3) Paste Webhook URL into Cobalt

In the macro UI/config:

  • Paste the webhook URL where Cobalt asks for it
  • Add your user ID if it supports pinging you (as shown in your transcript)

Do not share the webhook URL. If someone gets it, they can spam your channel until you delete/regenerate it.

Private Server Rejoin Setup (Endless AFK Mode)

Your transcript explains why private server links matter: if the macro detects something went wrong (like it can't open a shop), it can rejoin and continue.

Regenerate Private Server Link

  1. Go to the Grow a Garden game page
  2. Create/configure a private server
  3. Regenerate the link
  4. Copy the private server link into the macro

This enables "endless" running where it can reconnect and keep looping.

How to Start and Stop the Macro (Keybinds + Positioning)

The creator's method is simple but important:

The "Look Down" Trick

They recommend looking down at the ground before starting because looking at odd angles can cause odd UI selection behavior.

Start and Stop

  • Start: Press F5
  • Stop: Press F7

If you're testing for the first time, do a short run and watch one full shop loop before you leave it alone.

What Notifications You Can Expect

From your transcript, Cobalt can notify you if:

  • It bought something you asked it to ping for (example: ping on carrots)
  • The egg shop had nothing, and it recognized that
  • You ran out of money while buying

These alerts are exactly what makes webhooks worthwhile—because you don't need to stare at the screen to know something went wrong.

Troubleshooting (Most Common Fail Points)

If the macro "acts drunk," it's usually one of these:

  • UI Navigation is OFF → turn it ON (required)
  • Camera/Movement not Default → set both to Default
  • Speed pets equipped → unequip them
  • Not extracted → run from extracted folder
  • Wrong AHK version → try AHK v1.1 (per the creator)
  • Webhook spam → delete/regenerate the webhook in Discord
  • Clicks wrong spots → don't move the Roblox window mid-run; keep settings consistent

❓ Frequently Asked Questions

The GitHub README describes Cobalt (v2) as "100% free."

Yes. Cobalt is written in AutoHotkey, which runs .ahk scripts on Windows.

Because the macro relies on predictable UI focus/selection behavior. The repo's README calls this out as "IMPORTANT."

Most commonly: speed pets are equipped, camera/movement mode isn't Default, or you changed window position while it was running.

Anyone with the webhook URL can post messages into that channel via the webhook until you delete/regenerate it.

With a private server link set and auto-rejoin behavior (as described in the video), it's designed to keep looping through shop cycles indefinitely—assuming Roblox updates don't break UI timing.

Conclusion

If your goal is to AFK shop cycles and stack seeds/gear/eggs with minimal effort, the cobalt grow a garden macro (Cobalt v2) is built for that exact grind loop. Download it from the official GitHub, install AutoHotkey, turn on UI navigation, unequip speed pets, then add webhooks + a private server link for "set it and forget it" runs.

Get Cobalt Macro

Type: AutoHotkey Script Platform: Windows Price: Free
Download GitHub

Official GitHub repository

Quick Info

Difficulty Intermediate
Setup Time 20-30 minutes
Features 3+ Shops
Webhooks Yes
Private Server Yes

Requirements

✓ Windows PC

✓ AutoHotkey v1.1

✓ Roblox (any version)

✓ UI Navigation ON

✓ Default camera/movement