Need an Addon/way to make statue turn into ragdoll when something hits it

are there any addons or tools that let you turn a ragdoll into a statue so that as soon as something hits it it turns back into a ragdoll?

or if not are there any techniques that will give me the same effect?

One thing I do, is I pose a ragdoll, then I put a melon, noclipped over it’s head area. I weld ever joint to the melon, weld the melon to the ground and unfreeze everything. Also I make the melon invisible. Then when you shoot the melon and it breaks, the ragdoll’s joints are freed and it drops to the ground. I do not believe there is an addon for this unfortunately.