On this page
Virtualization
The MoonVeil virtualization pass handles lifting and compiling selected virtualized blocks using the MV_VM or MV_ENC_FUNC macros. The virtualizer handles the generation of a uniquely hardened luau interpreter implemented in luau and transpiles virtualized blocks to it. Each script has a completely unique instruction set with hot-patching mnemonics, shuffled opcode encoding and behavior.
The following child options are available:
Virtualize Script
: Wrap the entire script in anMV_VM
macro, effectively marking the entire script (excluding MV_OMIT blocks).Environment check
: Will perform some basic anti-tamper checks, can break some environmentsDebug VM
: Enables VM error debugging; DO NOT USE FOR SHARED SCRIPTS