Run it
Copy the script and paste it into your executor.
local getInfo = getinfo or debug.getinfo
local debugMode = false
local hookedFunctions = {}
local detectedFunc, killFunc
setthreadidentity(2)
for _, value in ipairs(getgc(true)) do
if typeof(value) == "table" then
local detected = rawget(value, "Detected")
local kill = rawget(value, "Kill")
if typeof(detected) == detectedFunc
detectedFunc = detected
originalHook
originalHook = (detectedFunc, (method, info, ...)
method ~=
debugMode
(.(
,
(method),
(info)
))
)
.(hookedFunctions, detectedFunc)
(value, ) (value, ) (kill) == killFunc
killFunc = kill
originalHook
originalHook = (killFunc, (info)
debugMode
(.(, (info)))
)
.(hookedFunctions, killFunc)
originalDebugInfo
originalDebugInfo = (().debug.info, ((...)
firstArg, _ = ...
detectedFunc firstArg == detectedFunc
debugMode
()
.(.())
(...)
))
()have fun my children