Run it
Copy the script and paste it into your executor.
local hf1, hf2
local hookfunc = clonefunction(hookfunction)
local Code = "1"
hf1 = hookfunc(hookfunction, newcclosure(function(old, new, AdminKey)
if not AdminKey then
print("Missing Admin Key, Preventing hookfunction to replace" .. debug.getinfo(old).name .. "with" .. debug.getinfo(new).name .. "!")
return hf1(print, print)
end
if AdminKey == Code then
return hf1(old, new)
else
print("Incorrect Admin Key, Preventing hookfunction to replace" .. debug.getinfo(old).name .. "with" .. debug.getinfo(new).name .. "!")
end
return hf1(print, print)
end))
hf2 = hookfunc(clonefunction, newcclosure(function(func)
debug.(func).name ==
()
()
(func)
), )
(, )
usage : hookfunction(print, warn, "1") made it so clonefunction cant bypass restrictions