local function Obfuscate(code)
local oCode = ''
for i = 1,code:len() do
oCode = oCode .. string.byte(string.sub(code,i,i)) .. ','
end
oCode = string.sub(oCode,1,oCode:len() - 1)
return oCode
end
local function Deobfuscate(code)
local dCode = ''
for i = 1,code:len(),2 do
--if string.sub(code,i,i + 1) ~= ',' then
dCode = dCode .. string.char(tonumber(string.sub(code,i,i + 1)))
print(dCode)
--else
--end
end
return dCode
end
local Code = Obfuscate('Print')
print(Code)
local oCode = Deobfuscate(Code)
print(oCode)
Errors:
14: bad argument #1 to 'char' (number expected, got nil)

4 comments
How e works: It returns double n multiplied by the recursive reverse of n-1, down to 1. Ex: e(5) > 1*1 = 1| * 2 =2| *3 = 6|*4=24|*5=120|BREAK; I was able to figure this out by noticing that e made f call g, subtracting from the original value and multiplying by the previous value, and g did the same with f, and the process looped repetitively until either the modified original value was less than
[Continued] --less than-- 0, or a stack overflow occurred from the functions calling each other too many times in a time period. The function e would then return the incremented value.
Thx I'm sorry I didn't reply as soon as possible. I actually quit roblox because of this problem and went to Unity 3D learning C#.
Lua now has a split method by the way