Enemy health bear

I’m making a game with bots that have health bars but I have a problem with this when you shoot a bot every health bear goes down.
Please help on this!

5 Likes

Can you send a project so i can point out whats wrong?

4 Likes

I’m going to use a test gane

3 Likes

https://ready.app.link/TO62pFx0E7

3 Likes

All of the health bars go down

3 Likes

Both Life Bars Are In The Same Class If You Want To Have Something Like This. Then You Will Have To Use Counters For The Enemies Instead. Glad To Help Though!

4 Likes

I don’t know how to use counters yet but I’ll try to use them

4 Likes

Ok Good Luck☘️! Hop You Can Do It!

5 Likes

Or you could separate the classes for the player health bar and enemy health bar

2 Likes