void Awake()
 {
     if(input == null){
         DontDestroyOnLoad (gameObject);
         input = this;
     }
     else
     {
         Destroy (gameObject);
     }
 }
 // Use this for initialization
 void Start()
 {
     //this gets the god of war object
     animationManager = GameObject.Find ("Tumatauenga");
     ////this gets the script that handles the animation
     animation = animationManager.GetComponent<Animation>();
     //this get the audio manager object
     audioManager = GameObject.Find ("AudioManager");
     //this get the script that handle the changing of the audio files
     audio = audioManager.GetComponent<InputHandlerScript>();
     //this get the audio manager object
     audioTumatauenga = GameObject.Find ("Tumatauenga");
     //this get the controls the audio for the haka
     tumatauengaAudioSource = audioTumatauenga.GetComponent<AudioSource> ();
 }