Need help with health script

I'm wondering if i can get help to create 2 scripts. One that should be attached to the player, giving him health point system. The second one to the enemy that drags hp from player when he collides with him. I also wonder if you can be nice and help me create a health bar.

Please don't ask for scripts in UnityAnswers. You will never learn anything without studying and explore yourself.

And I believe this type of questions has been asked a lot of times, you should use learn to use "Search".

http://answers.unity3d.com/questions/34355/working-health-script

There's a pretty good tutorial here http://www.youtube.com/watch?v=YYqzz1dy3Ak , and generally searching 'Unity3D health bar' on YouTube finds lots.