
11.1k Views
4 Executions
makes hookfunction require a key V1
Universal Script 📌
UnnesscaryInventions1M views
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
litteraly just makes hookfunction require a special key usage : hookfunction(print, warn, "1")
local hf1
local Code = "1"
hf1 = hookfunction(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("Invalid Admin Key, Preventing hookfunction to replace" .. debug.getinfo(old).name .. "with" .. debug.getinfo(new).name .. "!")
end
return hf1(print, print)
end))
hookfunction(print, warn)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







