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

getcallbackvalue

Returns the current value of a callback property on an Instance.

function getcallbackvalue(instanceinstanceInstanceThe instance to read from.: Instance, propertypropertystringThe callback property name (e.g., "OnInvoke").: string): function?function?The currently assigned callback function, or nil.

Usage

Read BindableFunction callback
local bf = workspace.SomeBindableFunction
print(getcallbackvalue(bf, "OnInvoke"))