Ragdoll Physics on Death

Ah yeah ive seen that, i followed the Udemy Course but im now trying to expand on it with my own features.
In the course we created a Delegate and used that to create a custom even when taking damage, so im trying to implement the above method with that delegate but its proving to be quite difficult