Luarmor uses Luraph™️ as the obfuscation provider, so their macros can also be used with Luarmor - along with Luarmor macros.
For more information on what a constant function is and is not, view this.
constant function
LRM_INIT_SCRIPT
This macro allows you to run a piece of code before your script is ran. It accepts a constant function.
Good usage:
LRM_INIT_SCRIPT(function() print("Hello, world!") end)
Bad usage:
LRM_INIT_SCRIPT(print("Hello, world!"))
LRM_INIT_SCRIPT("print('Hello, world!')")
local function init() print("Hello, world!") end LRM_INIT_SCRIPT(init)