-
What do you want to achieve? I want to detect when an Instance is removed from the game or destroyed
-
What is the issue? There doesn’t seem to be a way to do this that works for every case
-
What solutions have you tried so far? I have tried the following:
-- workspace.Part is the part I want to detect when it gets destroyed
workspace.Part.Destroying:Connect(function()
-- does not fire when object is destroyed via workspace FallenPartsDestroyHeight aka when it falls into the void the void
end)
workspace.Part:GetPropertyChangedSignal('Parent'):Connect(function()
-- does not fire when object is destroyed
-- just doesn't work at all
end)
this bug has been causing me a headache for a while , if you need me to clarify anything feel free to ask