Skip to main content

Scripts

Can users see my scripts source code?

No
LuaAuth uses Luraph to obfuscate your scripts so users never see your code
For more info look at the obfuscation help page

How do users run the script?

Once you create a script you will see a Loader button, this will give you a loadstring you can use to run that script

Your scripts are hosted and provided by LuaAuth for security and simplicity reasons
If you want to use a custom url that isnt LuaAuths for your scripts make the url return the LuaAuth loadstring, DO NOT paste the init script directly

What are runtime variables and macros?

Runtime variables are custom variables LuaAuth provides for you to use
Macros are custom functions LuaAuth provides for you to use

Check out the scripts section of these docs for more info about every macro and runtime variable we provide


Script fields

NameTypeDescription
NameTextName for the script, neer displayed to users, but is used for the la_script_name runtime variable
Free for allToggleAllow users to run the script without a key
Use heartbeatToggleHighly recomend you to use this, continues to verify a user after the initial check on script execute
Kick outdated usersToggleRequires heartbeat enabled, kicks any users running an old version of your script
Require sessionsToggleRequires heartbeat enabled, kicks any users that do not support our sessions feature (executor missing websocket support)
Allow source code savingToggleAllow us to save your source code to our servers so we can auto update your script when we release a new client
Your code is never shared publicly and we dont use it for anything else
If you dont trust us then you can disable this option and we will not save your source code
File uploadFileThe source code of your script, never shared publicly

Toggling scripts

You might notice there is a toggle next to your scripts name on the dashboard
That toggle enabled / disables the script. Disabling the script prevents all users from executing it and kicks all users currently using it when heartbeat is enabled