private void OnTriggerStay(Collider collider)
    {
        if (collider.gameObject.tag == "Shootable")
        {
            currentCooldown -= Time.deltaTime;

            if (currentCooldown <= 0f)
            {
                if (ammoScript.addAmmo())
                {
                    this.gameObject.GetComponent <AudioSource>().Play();
                    Destroy(collider.gameObject);
                    resetValues();
                }
            }
        }
    }