void Melee()
 {
     if (attacking == false)
     {
         theoptions.AddToMelee();
         audioPlayer.PlayOneShot(meleeSound);
         attacking = true;
         anim.CrossFade("Attacking", 0.01f);
         gameObject.GetComponentInChildren <SpriteRenderer>().enabled        = true;
         gameObject.GetComponentInChildren <ParticleSystem>().enableEmission = true;
     }
 }