Aegis documentation
Everything you need to protect Lua & Luau code for Roblox and FiveM.
What is Aegis?
Aegis transforms readable Lua/Luau source into protected code. You can use it on Roblox (Luau) and FiveM (Lua 5.4). Each encrypted file costs 1 token (the exact cost is configurable by the admin). Tokens come from plans or redeem keys.
Be honest about what obfuscation is: it raises the bar — no obfuscator makes code unbreakable. Aegis combines a custom VM, encrypted strings, control-flow flattening and name scrambling into a strong deterrent, and ServerShield takes it a step further by keeping the decryption key entirely off the client.
Protection modes
Keeps your output as valid Lua with encrypted strings, obfuscated numbers, control-flow flattening and renamed identifiers. Fastest and most compatible.
Compiles your program into a custom register-based bytecode VM. Instructions are decrypted one at a time during execution. Strongest offline protection.
The decryption key never ships with your file. It is fetched from the Aegis server at runtime after a license fingerprint check. The file itself contains no strings, opcodes or key math.
Full details in the protection modes guide.
Quick start
Create an account
Sign up or sign in from the navbar.
Add tokens
Buy a plan or redeem a key in the dashboard.
Encrypt
Paste your Lua, choose your modes, hit Encrypt.
Ship it
Download the protected file and deploy anywhere.
Then head to the dashboard, paste or drop your .lua file, choose your modes and hit encrypt. The output file is named yourfile-obfuscated.lua automatically.