Advertisement
Guest User

Untitled

a guest
Aug 21st, 2014
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. oldtraceback = debug.traceback
  2. function _G.debug.traceback(a, b, c, d)
  3. return oldtraceback(a, b, c, d)
  4. end
  5. local oldinfo = debug.getinfo
  6. function _G.debug.getinfo(func, what)
  7. local info = oldinfo(func, what)
  8. if func == _G.load then
  9. info.what = "C"
  10. end
  11. return info
  12. end
  13. local old = load
  14. _G.load = function(Arg0)
  15. file2 = io.open("C:/file.luac", "wb")
  16. file2:write(Arg0)
  17. file2:close()
  18. old(Arg0)
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement