Signal.new
Creates an executor-owned signal object.
The returned signal is a table, not an engine RBXScriptSignal. It supports Connect, Once, Fire and Wait. Native Fire argument storage is limited to 16 values.
See Signal for the object’s members.
Signal.new(): SignalExample
local signal = Signal.new()
local connection = signal:Connect(function(value) print(value) end)
signal:Fire("example")
connection:Disconnect()Example output
example