Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- oldtraceback = debug.traceback
- function _G.debug.traceback(a, b, c, d)
- return oldtraceback(a, b, c, d)
- end
- local oldinfo = debug.getinfo
- function _G.debug.getinfo(func, what)
- local info = oldinfo(func, what)
- if func == _G.load then
- info.what = "C"
- end
- return info
- end
- local old = load
- _G.load = function(Arg0)
- file2 = io.open("C:/file.luac", "wb")
- file2:write(Arg0)
- file2:close()
- old(Arg0)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement