I am writing a script that uses DescendantAdded every 60 seconds for a new part should I be using :disconnect() for them after the Instance is destroyed I am asking this because I am worried of memory leaks I’m hoping the function is disconnected itself after the Instance is destroyed and not creating any memory leaks
When an Instance is destroyed with :Destroy(), so are all of its children and connections, so no you do not need to do this manually.
1 Like