Ocean Macro

Ocean Macro

A free macro for The Forge on Roblox that mines, fights, and forges for you.

It finds rocks by their nameplates, walks to them, mines them out, fights enemies that get close, and plays all three forging mini games aiming for Perfect hits.

Download free
v3.0Windows 10/11.zip · 2.1 MB

Costs nothing Never buys anything in-game No injection or memory reading
Ocean Macro logo: a crossed pickaxe and sword above the words ocean macro

What it does

It reads the screen and presses keys and clicks like a player would. Nothing touches Roblox's files or memory.

Auto-mining

  • Picks the best rock by distance and what's in the way
  • Walks around rocks and enemies to reach it
  • Gets itself unstuck: jump, side-step, back up, then skips the rock
  • Turns the camera to search when nothing is in view
  • 33 rocks in the built-in list, and you can teach it new ones

Fighting

  • Pulls out your weapon when an enemy comes inside the fight radius
  • Works with melee or ranged, click or hold
  • Swaps back to the pickaxe when the enemy is gone
  • After a death it respawns and walks back to where you were, using the minimap

Auto-forge

  • Bellows: pumps until the heat bar is full
  • Pour: keeps the marker in the yellow zone
  • Hammer: clicks each ring the moment it lands for a Perfect
  • Can accept the finished item for you

Setup

About five minutes, once. You need Python 3.13 because the macro is a Python program.

  1. Install Python 3.13

    Get it from python.org. On the first installer screen, tick Add python.exe to PATH. Keep the "py launcher" option on; the macro starts with it.

  2. Unzip the download

    Find Ocean_Macro.zip in your Downloads folder and pick one of these ways to unzip it. You only need one.

    Windows (nothing to install)

    1. Right-click Ocean_Macro.zip.
    2. Click Extract All…
    3. Click Extract. A new Ocean_Macro folder opens.

    WinRAR

    1. Get it from win-rar.com if you don't have it.
    2. Right-click Ocean_Macro.zip. On Windows 11, click Show more options first.
    3. Click Extract to "Ocean_Macro\".

    7-Zip

    1. Get it free from 7-zip.org if you don't have it.
    2. Right-click Ocean_Macro.zip. On Windows 11, click Show more options first.
    3. Click 7-Zip → Extract to "Ocean_Macro\".

    Open the new folder, then the Ocean Macro folder inside it. That's where the .bat files are. Keep every file in there together, and don't run anything from inside the zip without extracting it first, or the macro won't find its files.

  3. Run "Install opencv.bat" once

    It installs the four free libraries the macro uses. If you'd rather type it yourself:

    py -3.13 -m pip install numpy mss customtkinter opencv-python
  4. Start the macro

    Double-click Start Forge Macro.bat. Keep the black window open; closing it closes the macro. Run Make Desktop Shortcut.bat if you want an icon on your desktop.

  5. Set up Roblox, then press F6

    Turn Shift Lock off and use windowed or borderless fullscreen, not exclusive fullscreen. Check your hotbar keys in the macro (pickaxe 1, weapon 2 by default). Your weapon slot needs an item in it.

The first time you press Start it makes a few small test turns to measure your camera, so it works with any sensitivity or screen size. Gray rocks (Pebble, Rock, Boulder, Basalt) need Teach this rock once before it can mine them.

Hotkeys

When you stop, pause, or click out of Roblox, every held key and mouse button is let go.

F6Start / stop
F7Pause
F8Pick or teach a rock
F9Finish / cancel

If something's off

Right after you press Start, the macro's log tells you whether it can control Roblox.

Camera test OK

Everything is working. Keys and mouse reach Roblox.

Windows is BLOCKING the macro's input

Roblox is running as administrator. Start the macro as administrator too.

The camera didn't move during the test turns

Click inside Roblox, turn Shift Lock off, and close any open menu.

…turns the opposite way

It already fixed this for the current run. Tick Invert turning in Settings to keep it.

Boxes on things that aren't rocks

Use Teach this rock on a real one.

Windows says "Windows protected your PC"

Normal for .bat files downloaded from the internet. Click More info → Run anyway.

Use at your own risk. Macros can be against a game's rules and can get an account banned. Use a private server.

Ready to mine?

Download Ocean Macro

License

Ocean Macro is free to download and use. It is not free to copy. You may not re-upload it, share it from another site, rename it, change it and post it as your own, or sell it. Link people to this page instead.