void Attack() //attack timer { if (playerHealth.currentHealth > 0) { playerHealth.TakeDamage(attackDamage); } }