FiveM Obfuscator

FiveM Obfuscator — protect your FiveM Lua scripts

Aegis is a purpose-built FiveM obfuscator for CitizenFX Lua. It virtualizes your server and client resources, encrypts the payload, and delivers the decryption key only after a runtime license check — so a leaked file on its own simply will not run.

Why developers choose Aegis

Bytecode virtualization

Your FiveM Lua is compiled into a custom virtual machine instead of readable source, so reverse-engineering means rebuilding an entire interpreter — not just reading your code.

Server-gated key delivery

With Ultra Security on, the content key is never stored in the file. It is fetched from the Aegis runtime only after the license, file fingerprint and per-build nonce check out.

No false positives

Every build is verified at generation time before it is ever delivered. Your protected resource runs exactly like the original on a real FiveM server.

Per-build randomization

Every obfuscation is structurally unique. There is no fixed signature to copy between builds, so one cracked file does not help with the next.

How it works

  1. 1

    Upload your script

    Drop your .lua FiveM resource file into the Aegis dashboard.

  2. 2

    Pick your protection

    Choose VM mode and Ultra Security (online key) or an embedded-key offline build.

  3. 3

    Download & deploy

    Get your protected file back in seconds and drop it straight into your resource.

Frequently asked questions

What is a FiveM obfuscator?

A FiveM obfuscator transforms your readable FiveM Lua scripts into a protected, hard-to-analyze form so other people cannot easily read, copy or re-sell your code. Aegis goes further than classic obfuscation by virtualizing the code and encrypting it behind a runtime license check.

Can obfuscated FiveM scripts still be leaked?

A copied file can always be shared, but with Aegis Ultra Security the decryption key is not in the file — it is delivered from our server only after authentication. A leaked file by itself cannot obtain the key and will not run.

Does obfuscation break my FiveM resource?

No. Aegis verifies every build at generation time and refuses to emit anything that would not run, so there are no false positives. Your protected resource behaves exactly like the original.

Does it work for both server and client scripts?

Yes. Aegis protects FiveM server-side scripts with online key delivery and client/shared scripts with a protected relay bootstrap.

Aegis is a FiveM obfuscator and encrypter built specifically for CitizenFX Lua 5.4. Whether you sell FiveM scripts, run a roleplay server, or just want to stop people stealing your work, Aegis protects FiveM resources with bytecode virtualization, string and number encryption, control-flow flattening and server-gated key delivery. Upload a FiveM Lua file, choose your protection level, and download a hardened build in seconds — with no false positives and a unique build every time.