About connections and deleting it

GC removes all things that have no reference (or weak reference) to it somewhere. That means, if you set a variable that contains the only reference to a table to nil, the table will be garabage collected. Calling :Destroy() on an instance will automatically disconnect all connections.

Read more about it here.

You can’t do that, you can only disconnect connections if you have the RBXScriptConnection returned from :Connect().

1 Like