Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local debug=debug
- local getinfo=debug.getinfo
- local function trace()
- local i = getinfo(2,'S')
- local s = i.short_src
- if s=="LuaCmd" then
- Say"no"
- error"no"
- end
- end
- local Tag="eek"
- hook.Add("CreateMove",Tag,function()
- debug.sethook(trace, "c")
- end)
- hook.Add("SetupMove",Tag,function()
- debug.sethook()
- end)
Advertisement
Add Comment
Please, Sign In to add comment