Thank you! Also I could maybe implement the health bar when closer to enemies?
Yeah, you could implement the feature to display the health bar for a brief moment whenever the player strikes the enemies.