Meliodas0_0

ShitFuscator

Jul 9th, 2019
445
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. local code = string.dump(function()
  2. local tbl = {}
  3. local mt = {}
  4.  
  5. --Setting metatable
  6. mt.__call = function(t, ...)
  7. local args = {...}
  8. if args[#args] == true then
  9. return args[(args[#args-1])]
  10. end
  11. end
  12. mt.__tostring = function(t) return t end
  13. mt.__concat = function(t,v) return v:reverse() end
  14.  
  15. --Set mt to tbl
  16. setmetatable(tbl, mt)
  17. end)
  18.  
  19. local result = "loadstring('"
  20.  
  21. for i = 1, code:len() do
  22. result = result.. "\\".. code:sub(i,i):byte()
  23. end
  24.  
  25. result = result.. "')();"
  26.  
  27. print(result)
Advertisement
Add Comment
Please, Sign In to add comment