Health Bar and Drop Chance System

I made a health bar and a drop chance system were when you kill a dummy you have a 50% chance of getting its sword and if you lose health or gain health your health bar will change to that amount of health.
Feedback would be appreciated.


the npc doesnt spawn back after i killed him 2 times

how did you kill it twice. if the npc didn’t respond.

Looks pretty good overall! I must say, it’s a little finicky. After a little bit of playing the health bar was just stuck in max position, even after pressing remove health. (Note: this is a problem with the health bar, not the remove health button, because the button was subtracting health just fine.)

I would change the UI colors a bit, also when you get hit or struck with a sword your health UI does not go down. Good work though!