Universal Script 📌
11.1k Views
7 Executions

makes hookfunction require a key V1

Universal Script 📌
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No 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")

Updates

  1. Script edited: Create script

View Raw
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

0
Log in to join the conversation. Login
No comments yet. Be the first!