MoonVeil-Docs/content/docs/macros/MV_OMIT_FUNCTION.md
2025-05-20 02:36:09 -05:00

27 lines
671 B
Markdown

---
weight: 100
title: "MV_OMIT"
description: "Omit all mangling steps"
icon: "code_blocks"
date: "2025-05-01T18:47:58-05:00"
lastmod: "2025-05-01T18:47:58-05:00"
---
`declare function MV_OMIT(omit: any): any`
will omit all mangling steps from the passed expression, will also disregard any indexes set by `MV_INDEX_TO_NUM`. Passing a function to this can be useful to keep performance-critical sections unobfuscated.
`MV_OMIT_FUNCTION` is also an available alias.
## Valid Usage
```lua
local dontMangleMe = MV_OMIT(function()
print("this whole function is in plaintext!")
end)
donMangleMe()
local a = MV_OMIT("plaintext string")
print(a .. "im obfuscated")
```