Trouble updating my enemy's health bar

I’m trying to make a game where you have enemies that teleport around you and you deflect their projectiles, damaging them. However, I’m having a problem with the enemy’s health bar not updating. I don’t know whether it’s that I’m not actually damaging the enemy when I deflect or whether it’s a problem with updating the UI for the health bar.
Game

1 Like

Check these

  1. Is it in order?
  2. Is there too much code?
  3. What health bar!?
1 Like

Screenshot 2025-03-05 5.25.03 PM This is the enemy hp bar and it wont update

2 Likes

I also want to know if there is a way to make the A button release if it has been held down for a certain amount of time.

1 Like