PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

RBXScriptConnection

RBXScriptConnection

RBXScriptConnection, also known as a Connection, is a special object returned by the Connect method of an Event (DataType/RBXScriptSignal). This is used primarily to disconnect a listener from an Event.

Properties

bool RBXScriptConnection.Connected

Describes whether or not the connection is still alive.
This will become false if connection:Disconnect() is called.

Functions

void RBXScriptConnection:Disconnect ( )

Disconnects the connection from the event.