Run the loader

Paste your key into the Sea Hub loader, run it in your executor, and set it to start automatically.

Updated November 10, 2026

The loader

Each script has its own loader. The SCRIPT_ID line tells Sea Hub which script you want, so copy the loader for your script from the Scripts page.

A loader has four lines:

  • USER_KEY is your licence key.
  • SCRIPT_ID selects which script to run.
  • LOADER_URL is where the script downloads from.
  • The last line runs it.

The public loader never contains a real key. You add your own.

The four lines run together in one execution. getgenv().USER_KEY and getgenv().SCRIPT_ID are set before the last line (the loadstring line), so never run the key line in a separate execution from the last line. SCRIPT_ID is already filled in on the loader you copy from the Scripts page; you only replace the key.

Put your key in

  1. Open Account and go to My keys, then copy your key.
  2. In the loader, replace PASTE_YOUR_KEY_HERE on the first line with your key. Keep the quotes.

Copy the key exactly

A space at the start or end of the key is the most common cause of "Invalid key".

Run it

  1. Join the game and wait until it has fully loaded.
  2. Open your executor and attach it.
  3. Paste the loader and press Execute.
  4. The Sea Hub window opens within a few seconds.

Your key uses one instance until you close it.

Loader errors

  • An error mentioning nil (for example "attempt to index nil") means the key or SCRIPT_ID line did not run together with the last line, or part of the loader was not copied. Copy the whole loader again and run all four lines in one execution.
  • A web, HTTP or download error means your executor could not fetch the script. Allow the executor through your antivirus and firewall, check your connection, use a Supported executor, then rejoin and run it again.
  • "Invalid key" usually means a stray space, a missing piece or a masked key. Copy the full key with the copy button in My keys.
  • The loader works the same on PC and mobile executors, as long as the executor is Supported.

Free scripts

A free or public script needs no key. Run its loader as it is.

Auto-execute

Most executors have an autoexec folder. Save the loader there as a .lua or .txt file, with your key already on the first line. Sea Hub then starts every time you join a game.

When your key changes, update that first line.

You can also open Library in Account. It lists each game's scripts, each with its Sea-built loader.

Use the official loader only

Only use the loader from this site or the Sea Hub Discord. A modified loader shared anywhere else can steal your key or your Roblox account.