Really NEED help about Animation

There is a guy answered my question he give me a script here is the script about animation
I need my tower to play its animation when enemy spawn…
My tower has a animation already all i need is to play its animation when it fires if enemy is near
to the range

using UnityEngine;
using System.Collections;

public class Attack : MonoBehaviour {

void OnTriggerEnter(Collider Obj)
{
if (Obj.tag == “Enemy”)
{
gameObject.GetComponent().Play(“ATTACK”);
}
}
}

But when the Enemy (tag as Enemy) pass through the box with box collider is Trigger
My tower won’t play the animation which is ATTACK…

Need Help PRO out there please

Try this:

gameObject.GetComponent<Animator>().Play("ATTACK");