LuaAuth uses Luraph as its obfuscator, Luraph provides its own macros that allow you to increase security or performance of your code
To see every macro luraph provides go to Luraphs macros documentation
Obfuscation increases code complexity a lot, this can result in your script becoming laggy when obfuscated
You can use Luraphs macros to help with this:
Syntax: LPH_JIT(func: const function)
This macro heavily optimizes the passed function so it runs at exponentially higher speeds, it also decreases security on it a bit
Use this macro on complex or performance critical functions that dont need intense security (heartbeat loops etc)
Syntax: LPH_JIT_MAX(func: const function)
This macro is a more aggressive version of LPH_JIT, also decreases security more than LPH_JIT
Use this macro when LPH_JIT doesnt give enough performance
Syntax: LPH_NO_VIRTUALIZE(func: const function)
This macro disabled obfuscaton on the passed function entirely, meaning the minified code will be exposed
Use this macro only when you need the perfomance and dont care if its exposed