void OnTriggerEnter2D(Collider2D other)
    {
        if (other.CompareTag("Player") && !alreadyPickedUp)
        {
            //This ensures nothing funky happens when two people try to pick something up at the same time
            alreadyPickedUp = true;

            //Enable weapon scripts
            weapon.enabled = true;

            //Give the weapon to the player, depending on if it has a parent or not
            other.GetComponent <PlayerData>().GiveWeapon(gameObject);

            //If this weapon is part of a weapon spawner, trigger the weapon spawner respawn coroutine
            if (weaponSpawner)
            {
                weaponSpawner.StartWeaponRespawn();
            }

            //Play pickup sound
            pickUpAS.Play();
        }
    }