Skip to main content

Scripts

Scripts are the files your users run. Each script lives in your Scripts library, is linked to a project, and gets its own loadstring URL.

Slots and linking

Slots are account-wide, not per-project: multiple scripts can share one project. Every script must be linked to a project — the key check is tied to the project’s credentials.

Loadstring URLs

Every script gets its own URL, named by its alias (lowercase letters, numbers, -, _):
URLs only respond to in-game clients — browser requests get a blocked page. Responses are cached briefly at the edge; changes can take up to a minute to propagate.

Legacy URLs

Two older URL formats still work and always serve the project’s primary script — the first script linked to the project, marked Primary in the dashboard:
  • https://vampauth.com/api/projects/<project_id>/loadstring.lua
  • https://vampauth.com/api/projects/<project_id>/scripts/<scriptId>/raw
If a project has multiple scripts, point users at each script’s own URL. Legacy URLs keep working so published loadstrings never break.

SDK modes

Choose how the key check reaches your users when saving a script:

The snippet

Scripts dashboard cards show a ready-to-share snippet:
Users replace PASTE-KEY-HERE with a key from the checkpoint flow or your dashboard. For scripts without the SDK injected (custom mode, or no injection), the plain one-liner is enough:

Launcher options

Vampauth SDK scripts read an optional config table before running:
InvalidAction decides what happens when validation fails:
  • kick (default) — the player is kicked with the kick message.
  • console — prints [Vampauth] <reason> to the console. The script never runs and the player is not kicked.
  • silent — nothing visible; the script never runs.
The script never runs on a failed check in any mode.