how to the zombie see and follows you and try to attack you
First your going to have to set up a trigger.
function OnTriggerEnter( other : Collider)
{
if(other.tag == “Player”)
{
follow();
attack();
}
}
There are many different ways to approach this