What? Are you asking how to give your character hit points (HP)? If so, just store the HP as an integer in the appropriate script, then decrease the value of the HP when taking damage. Or am I misunderstanding your question?
Excuse me, I will be more accurate. I already had no idea that it was necessary an entire variable for HP, and reduce the value of it as my character received damage. More what I'd like to know is: - How to set this variable - Entering the program that reduces the value of this variable - How to make the character go to a game over screen when life reaches zero. Thanks for listening. Please can teach me, program, or point me to links me to study it? I'm new in unity!
This would be a good place to start, you will find your answers and much more. http://unity3d.com/learn/tutorials/topics/scripting