LUA Loadstring Obfuscation - Nested brackets

Run Settings
LanguageLua
Language Version
Run Command
print("LOADSTRING - compatible with in script [[ ]] brackets") local function encode_script(script) return script:gsub(".", function(char) return "\\" .. char:byte() end) end -- Nested brackets local script_level1 = [=[ -- YOUR SCRIPT HERE ]=] local encoded_level1 = encode_script(script_level1) print('loadstring("' .. encoded_level1 .. '")()') print()
Editor Settings
Theme
Key bindings
Full width
Lines