RBXScriptConnection

Show Deprecated

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

Summary

Properties

Methods

  • Disconnect():void

    Disconnects the connection from the event.

Properties

Connected

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

Methods

Disconnect

void

Disconnects the connection from the event.

Returns

void