APEX docs
Reference

Signals

Connections, signal hooks and server-visible event raising.

connection:Defer

Also available as connection:Disable connection:Disconnect connection:Enable connection:Fire

Methods on a connection. Defer and Fire run its handler, Disable and Enable pause and resume it, and Disconnect removes it.

connection:disconnect

The lowercase spelling of Disconnect on a connection.

firesignal

Also available as fire_signal

Runs every handler connected to a signal on your machine, with the arguments you give.

function firesignal(signal: RBXScriptSignal, ...: any?)

getconnections

Also available as get_connections get_signal_cons

Returns every connection attached to a signal. Each connection can be enabled, disabled, fired or disconnected.

function getconnections(signal: RBXScriptSignal): {Connection}

replicatesignal

Also available as replicate_signal

Sends a signal to the server so its handlers run there, where the game allows it.

function replicatesignal(signal: RBXScriptSignal, ...: any?)

signal:DisconnectAll

Disconnects every handler of a signal, including ones that are waiting.