Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Your code here:
- local code = [[
- print("hello world")
- ]]
- --How many times obfuscate the code:
- --The higher number you put here the longer will it take
- local HowManyTimesObfuscate = 5
- function bytef(code)
- local r = "loadstring("..[["]]
- for i in code:gmatch(".") do
- r=r..[[\]]..i:byte()
- end
- r=r..[[")()]]
- return r
- end
- local a = bytef(code)
- for i = 1, HowManyTimesObfuscate do
- local b = a
- a = bytef(b)
- end
- print(a)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement