print("--//Made with Zfuscator\\--")

local throw_away = {}

-- Place your script here
local SCRIPT_TO_OBFUSCATE = [[
Script here!
]]

function GetBytes()
    for num = 1, #SCRIPT_TO_OBFUSCATE do
        throw_away[num] = string.byte(SCRIPT_TO_OBFUSCATE, num)
    end
end

function ConvertString()
    local string_buffer = ""
    for obj = 1, #throw_away do
        string_buffer = string_buffer .. "\\" .. throw_away[obj]
    end
    return string_buffer
end

function Obfuscate()
    GetBytes()
    local str = ConvertString()
    -- Output as a valid loadstring call
    print('local a = "' .. str .. '"')
    print('local b = game:HttpGet(a)')
    print('local c = loadstring(b)')
    print('if c then')
    print('    c()')
    print('end')
end

Obfuscate()

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: