Projects & Scripts

Projects & Scripts

A project is a container for one or more scripts. A script is the Lua code you deliver. Most setups use one project per product.

  1. Open the Projects page

    From the dashboard sidebar, click Projects.

    Dashboard sidebar with the Projects link highlighted
  2. Click Add Project

    A new account starts empty. Click Add Project to begin.

    Empty Projects page with the Add Project button highlighted
  3. Fill in the project form

    Give the project a name. The description is optional.

    The sidebar holds tabs for Script Configuration, Webhooks, and Halo Functions — advanced settings you can revisit any time.

    Click Create Project when done.

    New Project form with name field and sidebar tabs for advanced settings
  4. Your project appears in the list

    The new project shows up as a card, and the Total Projects counter increments.

    Projects page showing the newly created project as a card
  5. Click Add Script

    Every project card has an Add Script button on the right.

    Project card with the Add Script button highlighted
  6. Upload your Lua source

    Name the script, upload your .lua file, and pick the modes you want.

    • FFA Mode — anyone can run the script without a key. Use for free or public scripts.
    • Silent Mode — hides console output on the client. Not recommended; it makes debugging harder.
    • Heartbeat Connection — required to monitor or kick sessions in real time from the dashboard.
    • Fast Mode — faster load at the cost of some checks. Leave it off until you've confirmed everything works with full protection.

    Click Create Script when ready.

    New Script modal with name, mode toggles, file upload, and Create Script button
  7. Download the loader

    Open the ⋯ menu on the script's row and pick Download Loader.

    Script row with the actions menu open showing Download Loader

After your first script

To update a script, open its ⋯ menu and pick Edit Script. New sessions pick up the new code on their next load. Sessions already running keep their cached copy until shutdown. To force them onto the latest version immediately, use Sessions → Shutdown.

EnvyAuth macros

EnvyAuth exposes LGS_* globals you can read directly from your script:

lua
print("You have run " .. LGS_ScriptName)print("Current version: " .. LGS_ScriptVersion)print("Welcome " .. LGS_DiscordUsername .. "!")print("Your discord ID is " .. LGS_DiscordID)print("You have " .. LGS_Executions .. " executions")print("The script has " .. LGS_ScriptExecutions .. " executions in total")print("Your keynote is " .. LGS_Keynote)print("Your key has " .. LGS_TimeLeft .. " seconds remaining")print("Your HWID is " .. LGS_CurrentHWID)print("Your session id is " .. LGS_SessionID)print("There are " .. LGS_TotalSessions .. " people using the script")
MacroTypeHolds
LGS_ScriptNamestringThe name you gave the script.
LGS_ScriptVersionstringThe version field set on the script.
LGS_DiscordUsernamestringDiscord username of the user running the script.
LGS_DiscordIDstringThe user's Discord ID.
LGS_ExecutionsnumberHow many times this user has run the script.
LGS_ScriptExecutionsnumberTotal executions across all users.
LGS_KeynotestringThe note attached to the user's whitelist entry.
LGS_TimeLeftnumberSeconds left on the user's key. math.huge if it never expires.
LGS_CurrentHWIDstringThe user's hardware fingerprint.
LGS_SessionIDstringThe current session's unique ID.
LGS_TotalSessionsnumberHow many sessions are running the script right now.

Local development

The macros only exist when your script runs through EnvyAuth. Locally every LGS_* is nil, and reading them throws.

Paste this block at the top of your source file:

lua
if not LPH_OBFUSCATED then    script_key           = "RyxPMzKcyMpRkjoMOxYImacYejaasiRj"    LGS_ScriptName       = "Atomic Hub"    LGS_ScriptVersion    = "0000"    LGS_DiscordUsername  = "dev-user"    LGS_DiscordID        = "1118453649727823974"    LGS_Executions       = 0    LGS_ScriptExecutions = 10    LGS_Keynote          = "Version: Administrator"    LGS_TimeLeft         = math.huge    LGS_CurrentHWID      = "DEV_HWID"    LGS_SessionID        = "DEV_SESSION"    LGS_TotalSessions    = 1end

LPH_OBFUSCATED is only set when running through EnvyAuth, so in production the block is skipped and the real values take over. Edit the placeholder values to test any scenario: an expired key, a fresh account, a banned user.

Per-project settings

Inside a project you'll see tabs for Scripts, Users, Sessions, Analytics, and Settings. Settings controls:

  • Instance limit — concurrent sessions per user. Unlimited by default.
  • Account limit — linked Roblox accounts per user.
  • Webhook — a Discord webhook URL. EnvyAuth posts to it on events like new executions, HWID resets, and tampering attempts.

Changes apply to new loader calls, not retroactively.

Next

With a script ready and a loader file downloaded, whitelist your users.