Help me please im stuck here Assets/MeleeSystem.js(12,38): UCE0001: ';' expected. Insert a semicolon at the end.

#pragma strict

var TheDamage : int = 50;
var Distance : float;
var MaxDistance : float = 1.5;
var IronMace : Transform;

function Update ()
{
    if (Input.GetButtonDown("Fire1"))
    {
    IronMace.animation.Play("attack")r; 
    var hit : RaycastHit;
    if (Physics.Raycast (transform.position, transform.TransformDirection(Vector3.forward), hit))
    {
        Distance = hit.distance; 
        if (Distance < MaxDistance)
        {
            hit.transform.SendMessage("ApplyDamage", TheDamage, SendMessageOptions.DontRequireReceiver);
        }
      }
   }
}

Your problem is right here:

IronMace.animation.Play("attack")r;

Notice the errant ‘r’ at the end;