Removes the hooksignal hook from signal, putting it back to normal dispatch.

Parameters

RBXScriptSignal
required
The signal to restore.

Returns

boolean
true if a hook was present and has been removed, false if the signal was not hooked.

Behavior

  • Safe to call on an unhooked signal. It returns false rather than raising.
  • Connections are untouched. Restoring removes only the interception; every connection on the signal stays connected and resumes running normally.

Example

Errors