LuawardDocs

Loader and Runtime Checks

Understand triple-layer delivery, Ed25519 routing, Ephemeral X25519 unlock, anti-hook guards, and heartbeats.

Loader URL

Each script has a loader URL in the form:

https://luaward.com/loader/YOUR_SCRIPT_ID.lua

Opening the link in a browser shows copy instructions. A Luau runtime receives the Obscyven-protected Layer-2 loader, which negotiates authorization with Luaward's edge before unlocking the protected Layer-3 script.

Authorization & triple-layer verification

  1. Universe Route Check (when using Loader Universe): Layer 1 requests a signed route from the edge, verifies the Ed25519 signature, and validates the Layer-2 SHA-256 digest before running it.
  2. Challenge-Response & Ephemeral X25519 Key Unlock: Layer 2 transmits the script ID, optional script_key, timestamp, one-time replay nonce, HMAC-SHA256 signature, and an ephemeral public key. The edge verifies the time window, signature, unused nonce, script state, and key entitlement, then seals the unlock grant over Ephemeral X25519.
  3. Runtime Integrity Guards: During bootstrap and execution inside Obscyven, fail-closed anti-hook and anti-proxy checks verify standard library integrity and block function hooking or metatable tampering.
  4. Device Binding (HWID): For keyed scripts, a license key binds to the runtime-provided device identifier on first valid use. A different identifier returns KEY_HWID_LOCKED until the key is reset.

Session and heartbeat

After authorization, the loader decrypts active capability groups on demand using Lazy ChaCha20-Poly1305 AEAD. Sessions expire after 12 hours. If Heartbeat is enabled for a keyed script, the loader re-checks every 90 seconds so the edge can stop execution when a script is paused, a plan pauses it, or a key is banned or expired.

Common outcomes

  • SCRIPT_NOT_READY: wait for the Obscyven build to reach Ready.
  • SCRIPT_DISABLED: the workspace owner turned the script off.
  • GAME_NOT_SUPPORTED: the script is locked to other games; see Loader Universe.
  • PLAN_LIMIT: the workspace plan has paused the script.
  • KEY_INVALID / KEY_EXPIRED / KEY_BANNED: review the key status.
  • KEY_HWID_LOCKED: the key is already bound to a different device; ask the owner to reset it.

These controls raise the cost of replay, hooking, and unauthorized access, though no client-side runtime check is immune to every possible modified environment.