🔥
Prometheus
  • Prometheus
  • Getting Started
    • Installation
    • Obfuscating your first script
    • Command Line Options
    • Presets
    • Writing a custom Config File
    • The Config Object
  • Steps
    • WrapInFunction
    • Vmify
    • SplitStrings
    • ProxifyLocals
    • EncryptStrings
    • ConstantArray
  • advanced
    • Using Prometheus in your Lua Application
Powered by GitBook
On this page
  • Settings
  • Example
  1. Steps

WrapInFunction

This Step Wraps the Entire Script into a Function

Settings

Name
type
description

Iterations

number

The Number Of Iterations

Example

in.lua
print("Hello, World!")
out.lua
-- Iterations = 1
return (function()
    print("Hello, World!")
end)()
PreviousThe Config ObjectNextVmify

Last updated 3 years ago