Destroy ragdoll body after thirty seconds

What should I do to delete a ragdoll body after 30 seconds?
This is the code I use for ragdoll physics

Could be just me, but that image is completely unreadable. Regardless, delay node for 30 seconds, destroy actor.

This is a problem because the script is in the weapon

Its possible to upload images directly into the comment, no need to use dropbox, can’t really help further than what mrteuy already said without more details or seeing the picture.

It most likely has a connection to a parent object, I’m guessing. Try Get Owner and destroy that. This all depends on your object hierarchy, however, but in some way, should be able to back up to a parent.

Or, if the weapon is shooting another object, use the collision actions to handle which object to destroy.