Add velocity when SNPC dies

When my SNPC dies, no matter what weapon I use, it’s ragdoll doesn’t fly away.

This is what I use:
[lua]
function ENT:OnTakeDamage(dmg)

self.inflictor = dmg:GetInflictor()
self.Entity:TakePhysicsDamage( dmg )

self:SetHealth(self:Health() - dmg:GetDamage())
	
if( self:Health() <= 0 ) then
	gamemode.Call( "OnNPCKilled", self, dmg:GetAttacker(), self.inflictor )
	self:SetNPCState( NPC_STATE_DEAD )
	self:SetSchedule( SCHED_DIE_RAGDOLL )
end

end
[/lua]