Players' health goes negative

[lua]
elseif ent:IsPlayer() then
ent:SetHealth( ent:Health() - self.DirectHitDamageAdd)
end
[/lua]

That ^^ is how I take away from a player’s health when I deal damage in a certain SENT.

The problem is, that players do not die when their health <=0.

This is a gamemode that I am creating from scratch.

**[CTakeDamageInfo.AddDamage

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=CTakeDamageInfo.AddDamage)**

**[Gamemode.EntityTakeDamage

http://wiki.garrysmod.com/favicon.ico](wiki.garrysmod.com/?title=Gamemode.EntityTakeDamage)**

This

[lua]local health = math.Clamp( ent:Health() - self.DirectHitDamageAdd, 0, 100 )
if health > 0 then
ent:SetHealth( health )
else
ent:Kill()
end[/lua]