private IEnumerator AttackRoutine() { while (true) { yield return(new WaitForSeconds(2f + Random.Range(-1f, 1.5f))); gun.FireGun(); } }