Code:
//Made by VicTore UpZombies
var AnimationClip : AnimationClip ;
function Update() {
if (Input.GetKeyDown (KeyCode.W))
{
GetComponent.<Animation>().Play();
}
if (Input.GetKeyDown (KeyCode.S))
{
GetComponent.<Animation>().Play();
}
if (Input.GetKeyDown (KeyCode.A))
{
GetComponent.<Animation>().Play();
}
if (Input.GetKeyDown (KeyCode.D))
{
GetComponent.<Animation>().Play();
}
}