firesignal
Delivers arguments to connected handlers and waiters of an engine signal.
Handler delivery is scheduled through task.spawn. A signal with no allocated connection core has nothing to fire. This does not provide general server replication.
firesignal(signal: RBXScriptSignal, ...: any): ()Parameters
| Parameter | Type | Description |
|---|---|---|
signal | RBXScriptSignal | Engine signal to fire. |
... | any | Values delivered to handlers. |
See Signal for the object’s members.
Example
local event = Instance.new("BindableEvent")
local connection = event.Event:Connect(function(value) print(value) end)
firesignal(event.Event, "example")
connection:Disconnect()
event:Destroy()Example output
example