VINDICTA.TOP
Oth · Function
Bunni.fun
ChocoSploit
Cryptic
Potassium
Seliware
SirHurt
Solara
Velocity
Volcano
Volt
Wave
Xeno

oth.hook

Hooks a function using the Off-Thread hook model.

function oth.hook(targettargetfunctionThe function to hook.: function, hookhookfunctionThe hook function.: function): ()

Usage

Hook Instance.new
local old
old = oth.hook(Instance.new, function(...)
    print("Creating new instance:", ...)
    return old(...)
end)