Advanced health gradient help please. Need to know how to ma

Hello, as the subject says, I really need help on making a health gradient for the game. IN other words, when ever you get hit, your HP drops, but if your on a higher level, then it drops less. Please help me out someone.