You can "steal" mine http://www.greenfoot.org/scenarios/9314. If you need something different you can just download the code and customize it yourself.
how would I hook that up to my player? if my player's health=850000/900000, what commands within the player would I use to change the value on the healthbar?
would give you the amount of the bar that should represent the current value.
You can refer to my Value Display Tutorial scenario to see how to apply a bar to your player.
If you look at my example you can look at the code I wrote for the buttons. The buttons change the value of the health bar, so you can put that code into your player, so health change triggers on other things than button pressing.