I want to know how to make my enemies health bar shrink, its not a problem to make because you can make something like this
enemy health=50,width of health bar= 50, set width of health bar to health
But if some enemy of mine will have lets say 500 health than it would be huge.
So can i make health bar small but still to shrink according to damage taken.
Thank you in advance.