Make my zombie Do damage

I want to make my Zombie deal damage to me. I already added a health script to my first person controller here it is.

var health = 50;
function ApplyDamage (damage : int) {
health -= damage;
if(health <= 0) {
function Die () {
Application.LoadLevel (Application.loadedLevel);

But i dont know how to make the zombie deal damage my health. Can anyone help

maybe you can use it …

fungion OnCollucionsEnter …

and do samething for that …

if enemy touch player , that well do something …

sorry my bad english…