//countdown till it deletes enemy gameobject IEnumerator deathTimer() { //Debug.Log ("Waitfor seconds"); yield return(new WaitForSeconds(1.5f)); //Add points to score and counter in ScorePoints.cs on GameObject scoreDisplay = GameObject.Find("ScoreDisplay"); ScorePoints addScore = scoreDisplay.GetComponent <ScorePoints> (); addScore.AddAndroidScore(); //Need to determine if android or drone and add apropriate score gameObject.SetActive(false); }