ReferenceSignals

restoresignal

Removes the filter installed by hooksignal and restores its managed connections.

Syntax

restoresignal(signal: RBXScriptSignal) -> boolean

Also available as

restore_signalunhooksignal

Parameters

ParameterTypeDescription
signalRBXScriptSignalSignal whose filter to remove.

Returns

TypeDescription
booleanWhether a hook was removed.

Description

This does not destroy the signal or disconnect unrelated listeners. It does not replay deliveries skipped while the hook was active.

Example

local event = Instance.new("BindableEvent")
print(restoresignal(event.Event))
event:Destroy()

These are Game executor contracts. Check build requirements and session lifetimes before using them.