> ## Documentation Index
> Fetch the complete documentation index at: https://luarmor.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Runtime Variables

Luarmor has runtime variables that allows you to access to user details such as Discord ID, total executions, script name, premium, user note, etc..

<Warning>
  Luarmor does not protect these runtime variables and they can be hooked and modified maliciously.
  Make sure to add your own protections, if needed.

  Also, they are not updated at all.
  You will need to track updates for variables like `LRM_SecondsLeft` **yourself**.
</Warning>

They can be used for a lot of things. Check out this example:

<Frame caption="An example script using runtime variables">
  <img src="https://mintcdn.com/luarmor/8pPKYh_Y132D2Y4u/images/runtime-vars-example.png?fit=max&auto=format&n=8pPKYh_Y132D2Y4u&q=85&s=5bb93f109a6b4ba927a28edd4f1451ab" alt="An example script using runtime variables" width="791" height="379" data-path="images/runtime-vars-example.png" />
</Frame>

## Every runtime variable

You can see a full list of runtime variables here:

<AccordionGroup>
  <Accordion title="LRM_IsUserPremium">
    A `boolean` indicating if the user is premium or not. This is useful for FFA scripts ('freemium').
  </Accordion>

  <Accordion title="LRM_LinkedDiscordID">
    The linked Discord ID of the user.
  </Accordion>

  <Accordion title="LRM_ScriptName">
    The name of the current script.
  </Accordion>

  <Accordion title="LRM_TotalExecutions">
    The total executions of the user. It will be `0` by default.
  </Accordion>

  <Accordion title="LRM_SecondsLeft">
    The seconds left until expiry. It will be `math.huge` if `auth_expire` isn't set.
  </Accordion>

  <Accordion title="LRM_UserNote">
    The user note. It will be `Not specified` by default.
  </Accordion>

  <Accordion title="LRM_ScriptVersion">
    The version of the script, i.e. `0.0.0.1`.
  </Accordion>
</AccordionGroup>
