public void Apply(playerMovement player)
 {
     if (type == Type.Speed)
     {
         player.ChangeSpeed(amount);
         GameObject pop = Instantiate(speedPop);
         Destroy(pop.gameObject, 1f);
     }
     else if (type == Type.Damage)
     {
         player.gameObject.GetComponentInChildren <PlayerCombat>().ChangeDamage(amount);
         GameObject pop = Instantiate(damagePop);
         Destroy(pop.gameObject, 1f);
     }
     else if (type == Type.Health)
     {
         player.gameObject.GetComponent <Combat>().ChangeHealth(amount);
         GameObject pop = Instantiate(healthPop);
         Destroy(pop.gameObject, 1f);
     }
 }