void TakeDamage(int dmg) { health -= dmg; if (health <= 0) { scoreScript.AddPlainScore(20); Destroy(gameObject); } }