.Destroying not working

I cant get .destroying to work, it’s supposed to print something when the part is destroying but does not.
I am using a module script on purpose instead of using a single script so I can update the function in the future easily when using it with multiple parts.

2 Likes

I weirdly enough ran into this same issue.

It doesn’t fire for local scripts if the object is destroyed on the server I think.
Is your game using deferred events (check workspace settings)?

I feel like it’s a bug that this event somehow works incorrectly.

1 Like

It is firing from the server not local scripts,

Changing SignalBehavior from “Deferred” to “Default” fixes the issue.

I am assuming this is a bug.

4 Likes

It likely is a bug, if you can, try making a bug report about it.
I’m pretty sure this is not intended behavior.

1 Like

I was going to but I dont have permission’s to post under bug reports nor do I even know the requirements to get those type of permissions

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