This would be easier with a script. But you could have a bunch of pictures, each with the bar filled at different amounts. You would also need to have a variable that is assigned to the amount of hp the player has. You would then have a parallel event checking to see what your variable is, and a conditional branch that changes the picture shown depending on what the variable is.