Forge

The loader

Loader line

Each script has one loader line. It stays the same when you upload a new version.

loadstring(game:HttpGet("https://luarun.com/s/<script id>"))()

Keys in the loader

A player can also give their key in a script_key line before the loader.

script_key = "XXXXX-XXXXX-XXXXX-XXXXX"
loadstring(game:HttpGet("https://luarun.com/s/<script id>"))()

The loader saves a key that works in the executor's forge folder, and the player doesn't have to enter it again. When a saved key is revoked, expires or stops working for any other reason, the loader deletes it on the next run.

Key prompt

When a player has no key, or their key doesn't work, the loader shows a key prompt in the game. You don't need to build your own key screen.

  1. The player pastes their key here and presses Check key.
  2. Get key copies the link to your hub's key page on forgekey.net.

If a key doesn't work, the prompt says why under the field, for example "Key expired 24 Nov" or "Needs Pro". A key in use on another device gets Reset devices in place of Get key.