function DMG( ply, dmg ) if ply:IsPlayer() and dmg:GetDamageType() == DMG_CRUSH then return false end end hook.Add("EntityTakeDamage", "dad", DMG)