Expecting : found "="

YES IM NEW AT SCRIPTING OK…

public var isSprinting : boolean = false;

public var sprintAnime : Animation;

public var sprintString : String;


function Start ()
{

     sprintString = sprintAnime;             
}                           


function Update()
{
  if(Input.GetButtonDown("sprint"));
  {
     isSprinting = true;
     animation.Play("sprintUMP");
  }
  else
  {
  
     if(Input.GetButtonUp("sprint"));
     {
       isSprinting = false;
       animation.Stop("sprintUMP");
      }
     
     
     }
        

}

Don’t put ; at the end of ‘if’ lines:

if(Input.GetButtonDown(“sprint”));

should be

if(Input.GetButtonDown(“sprint”))