Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("===========================================================");
- print("On: " .. os.time());
- print("===========================================================");
- function CheckPrecompiled(source)
- if source:sub(1,1):byte() == "27" then
- return true
- else
- return false
- end
- end
- function RunCodeThroughVM(source)
- if not CheckPrecompiled(source) then
- source = string.dump(source)
- end
- repeat
- wait()
- until shared.DisassembleChunk;
- local InstructionSet = shared.DisassembleChunk(source);
- for i,v in pairs(InstructionSet) do
- print(i,v)
- for k,c in pairs(v) do
- print("--",k,c)
- if type(c) == "table" then
- for x,y in pairs(c) do
- print("----", x,y);
- if type(y) == "table" then
- for waytoomany,omg in pairs(y) do
- print("------", waytoomany, omg);
- end
- end
- end
- end
- end
- end
- end
- RunCodeThroughVM(
- string.dump(function()
- print("g")
- local a = 5
- end)
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement