A little tool I made with AI to quickly obfuscate Lua 5.4 and Roblox Luau scripts & code on 64-bit Windows.
- target Lua 5.4 or Roblox Luau
- choose low, medium, or high obfuscation
- select a
.lua,.luau, or.txtfile or drag it into the app - choose the output folder
- follow progress in the built-in log
- process every script locally without uploads or telemetry
Lua 5.4 can use the complete Hercules protection set. Luau automatically skips the VM and bytecode protections that are not compatible with the Luau runtime.
- download the latest ZIP from the releases page
- extract the folder
- run
Installer.bat - open
Lua Obfuscator.pyw
The download contains only the installer and app. Setup downloads the pinned Hercules source and Lua 5.4.8 runtime into a private .runtime folder. It also creates a private .venv for PySide6 and does not require administrator access.
If compatible 64-bit Python 3.10 through 3.14 is already installed, setup uses it to create the private environment. If Python is unavailable, setup installs Python 3.13 for the current Windows user through winget.
The Hercules and Lua archives are checked against pinned SHA-256 checksums before they are installed. Run Installer.bat again whenever you want to repair the private environment or downloaded components.
- choose a
.lua,.luau, or.txtfile - select Lua 5.4 or Roblox Luau
- select low, medium, or high obfuscation
- choose the output folder
- click Obfuscate
Plain .txt files are treated as source for the selected target. Lua output is saved as <name>.obfuscated.lua. Luau output is saved as <name>.obfuscated.luau. The original file is never overwritten.
The app has no telemetry, analytics, accounts, or usage tracking. Scripts are processed locally and are never uploaded. To remove everything installed specifically for the app, close it and delete its folder. A Python installation added through winget may remain in your user environment.
This project was made with AI.
Obfuscation makes source harder to read but does not make it impossible to recover. Only obfuscate code you own or have permission to modify.
