Parameters
Returns
function - The original unhooked function.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
oth.get_root_callback(target: function): function
| Parameter | Type | Description |
|---|---|---|
target | function | The hooked function. |
function - The original unhooked function.
local root = oth.get_root_callback(print)
print("Original root: ", root)
local root = oth.get_root_callback(workspace.Destroy)
assert(root == game.Destroy, "Root callback should represent the unmodified method")