Closuresrestorefunction
Closures

restorefunction

Restores a hooked function to its original implementation.

Related to sUNC documentation

This page follows the official sUNC reference.

Signature

Luau
function restorefunction(functionToRestore: (...any) -> (...any)): ()

Returns

Nothing.