Skip to main content
Obfuscations are provided by our official partner (wYnFuscate)
For the latest / full documentation, visit wYnFuscate Docs

wYnFuscate Macros

bool
A compile-time constant that evaluates to true in obfuscated builds.
In plain Lua (non-obfuscated), it behaves like a normal global (typically nil/false).
function wrapper
Marks a function to run as native Lua instead of inside the VM
This bypasses VM overhead for performance-critical code like hot loops or heavy math/table/string operations.
Code in WYNF_NO_VIRTUALIZE is NOT protected through virtualization.
function wrapper
Marks a function for Wynfuscate’s JIT-style micro-VM execution path.
The function remains virtualized (it still runs encrypted bytecode), but executes under a more performance-oriented interpreter template than the main VM loop.
function call
Immediately and securely crashes the VM, corrupting the VM context to prevent recovery or analysis.
Use this as a last-resort defense when tampering or unauthorized access is detected.
function call
Returns true if the current function was called from within your obfuscated code Returns false if it was called from an external source like an exploit script.
string wrapper
Applies additional encryption layers to a string literal, providing extra protection for highly sensitive values like API keys, passwords, and encryption keys.
number wrapper
Protects a numeric literal by encoding it in an encrypted form, preventing magic numbers from being trivially found via memory scanning or static analysis.
function call
Expands to the current source line number at compile time. This provides a stable line marker for logs and error messages without relying on VM debug info, which is stripped during obfuscation.
function wrapper
Creates a lightweight wrapper around your function for compatibility with certain environments or APIs that have issues with virtualized functions used as callbacks.
function wrapper
Marks a function as VM-only callable. Calls to this function will only succeed when they originate from inside your obfuscated code.
function wrapper
Returns a wrapped callback that performs a caller gate before invoking your function. Intended for event handlers and callbacks that are called by external systems like Roblox signals, RemoteEvents, and UI events.
Last Updated: 20 February 2026