MoonSec V3 Obfuscator Macros

<string> MS_ENCRYPT(<string>)

Encrypts given string, alternatively you can use ENCRYPT: prefix too.

print(MS_ENCRYPT('Hello World'));
local a = MS_ENCRYPT([[Oh god]]);
print(a, "ENCRYPT:Another hello world");

<void> MS_WATERMARK(<string>)

Changes the watermark on output files, and it will break the script if that watermark is somehow removed.

MS_WATERMARK('SkiddedSS - Join us discord.gg/ÄŸ')
print('hello world');

By default, this isMS_WATERMARK([[This file was protected with MoonSec Private by Federal#9999]])

<void> MOONSEC_EXIT()

Kills the interpreter and ends the script execution immediately, with all sub-threads.

-- example threads:
for i=1,15 do
    spawn(function() 
        while wait(1) do 
            print'x' 
        end 
    end)
end

print('bye bye');
MOONSEC_EXIT();
print('this will never be printed');

<number> MOONSEC_GET_SCRIPT_ID()

This is an unique script identifier fingerprint, and it changs between every obfuscated file. IDs have a range between 111111111 and 999999999

print(MOONSEC_GET_SCRIPT_ID())

Last updated

Was this helpful?