void Awake () 
	{
		if (instance == null)
			instance = this;
		else 
		{
			Debug.Log("There were 2 AudioMasterScripts. Destroyed 1");
			Destroy (this.gameObject);
		}
	}
    static AudioMasterScript instance = null; // keep music rolling

    void Awake()
    {
        if (instance != null) //keep music rolling
        {
            Destroy(gameObject);
        }
        else
        {
            instance = this;
            GameObject.DontDestroyOnLoad(gameObject);
        }
    }
 void Awake()
 {
     if (instance != null)
     {
         Destroy(gameObject);
     }
     else
     {
         instance = this;
         GameObject.DontDestroyOnLoad(gameObject);
     }
 }