I need some help with a script, I am trying to trigger an animation by clicking.

My game is about killing evil cubes.

#pragma strict

function Start () {

}

function Update () {
if (Input.GetButtonDown(“Fire1”)) //check to see if the left mouse was pushed.

animation.CrossFade (“Swing”); // if pushed play the animation listed within the quotation marks.

i am also a mega noob at scripting