// Update is called once per frame
    void Update()
    {
        spawn.stopSpawning();

        if (TimeTillSpawn >= 300)
        {
            if (zombiesToSpawn != 0)
            {
                TimeTillSpawn = 0;
                zombiesToSpawn--;

                phill = spawn.spawnEnemyWithName(this.gameObject.transform);
                phill.AddComponent <Tracker>();
                phill.SetActive(true);
                if (phill.GetComponent <Tracker>() == null)
                {
                    Debug.Log("Tracker didn't stick");
                }

                if (zombiesToSpawn == 0)
                {
                    Debug.Log("NO MORE TOO SPAWN");
                }
            }
        }
        else
        {
            TimeTillSpawn++;
        }
    }