--[[ https://www.roblox.com/games/1087852616/CATASTROPHIA-Survive for example ]] local holyshit; for _, func in getgc() do -- getgc() returns list of garbage collection values if typeof(func) == "function" --[[checks if func is function]] and debug.info(func, "s"):find("NovyHraac") then -- debug.info(thread or function, level :string) -- "s" is function source (full name of script where defined our function) local line = debug.info(func, "l") -- line where defined our function if line == 34 then -- use konstant decompiler to find holyshit = func -- save reference to found function so we can hook it later end end end --[[ local function var16_upvw(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) tbl_upvw_4[arg1]:FireServer(arg3, arg4, arg5, arg6, arg7, arg8) -- arg1 is index of table with remote ids :number end ]] local bypass; bypass = hookfunction(holyshit, newcclosure(function(index, ...) -- hookfunction(function, newfunction(...)) replaces function if index == 6 or index == 11 or index == 12 or index == 13 or index == 14 or index == 15 or index == 16 or index == 17 or index == 18 or index == 19 or index == 21 or index == 22 or index == 28 then print'bypassed' return task.wait(9e9) -- make function infinite yield if index (argument 1) is one of bad ones end return bypass(index, ...) end))