Smod Ragdoll Twitching For GMOD

I f u have played SMOD u will know that they twitch when they die, But i think it is possible for that to happen in GMOD, it has been done before but not when they die. The swep called “BLACK MAGIC”, when u control the ragdoll it will twitch. So who can make such a mod for dead npc’s to twitch?

It also happens in HL2 when you use the gravgun on steroids. Is this what you’re talking about? I never used black magic.

YES like that when they are shocked with the Garavity gun but i want all npcs that get shot must do that when they die.