cfiresignal
Raises a signal through the engine, so engine-side listeners run as well as Luau connections.
Syntax
cfiresignal(signal: RBXScriptSignal, ...: any) -> ()
Parameters
| Parameter | Type | Description |
|---|---|---|
signal | RBXScriptSignal | The event to fire. |
... | any | The event's arguments, converted to the types the event declares. |
Description
firesignal calls Luau connections directly. cfiresignal asks the engine to raise the event, the way the engine itself would, so the engine's own connections run too. The arguments are converted to the event's declared types, as for a real event, and nothing is sent to the server.
Example
local box = game.Players.LocalPlayer.PlayerGui.Login.Name
cfiresignal(box.FocusLost, true)
These are Game executor contracts. Check build requirements and session lifetimes before using them.
