ScriptConnection
A class which holds data and methods for ScriptConnections.
Properties
Connected
This item is read only and cannot be modified. Read OnlyScriptConnection.Connected:
boolean
A boolean which determines if a ScriptConnection is active or not.
Functions
Disconnect
ScriptConnection:
Disconnect
(
) →
(
)
Disconnects a connection, any :Fire
calls from now on will not
invoke this connection's handler.
local connection = ScriptSignal:Connect(function() end)
connection.Connected -> true
connection:Disconnect()
connection.Connected -> false