Take damage by a ragdoll?

Hi folks, I’m interested to know how to do, for a ragdoll placed by a code

[LUA]rag = ents.Create(“prop_ragdoll”)[/LUA]

possesses the properties that … if you hit or hurt, the player dies, and try everything, but nothing works :C

From now through