scripting problems

The system keeps saying error insert semi-colon but i cant figure out where i need to place it, im sorta new at scripting so id appreciate some tips

#pragma strict

var Damage : int 50;
var Distance : float;

function update ()
{
  if (Input.GetButtonDown("Fire1"));
  {
    var hit :RaycastHit;
    if (Physics.Raycast(transform.position, transform.TransformDirection(Vector3.forward), hit));
     {
      Distance=hit.distance;
      hit.transform.SendMessage("ApplyDamage", Damage, SendMessageOptions.DontRequireReceiver);
      
      }
    }
 }

For future posts, please format your code. After pasting, select your code and click on the 101/010 button.

And your bug is on line 3. You are missing an ‘=’ sign between ‘int’ and ‘50’. The line should read:

var Damage : int = 50;