public override void TakeDamage(DamageInfo info) { if (!isDead) { base.TakeDamage(info); if (isLeader && isDead) { baseScript.LeaderDied(); } } }