local hook = newcclosure(function() return end) for _, obj in getgc(false) do if typeof(obj) == "function" then local source = debug.info(obj, "s") if source and source:find("CharacterCollision") then hookfunction(obj, hook) end end end