Part not clearing from memory after destroying it and removing it from table?

I don’t know what exactly I am doing wrong but when destroying a part it just doesn’t gets cleared?

image
image

Somehow it just still exists?

I don’t know what I’m doing wrong here.

I also tried removing it from the table before destroying it, yet somehow it doesn’t goes away from the table, it’s really weird.

1 Like

Even when you destroy a part, the variable still stores that part. You can just add:

self.Part = nil

Right after you destroy it.

1 Like

I did tried using table.remove() but it didn’t worked, however let me try using nil, maybe it gives diferent results.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.