private void OnCollisionEnter2D(Collision2D other)
    {
        if (other.gameObject.layer == LayerMask.NameToLayer("Ground"))
        {
            Bounce();
            if (transform.eulerAngles.z >= 90 || transform.eulerAngles.z <= -90)
            {
                anims.GroundBounceSide();
            }
            else if (transform.eulerAngles.z <= 90 || transform.eulerAngles.z >= -90)
            {
                {
                    anims.GroundBounceUpDown();
                }
            }
        }

        else if (other.gameObject.layer == LayerMask.NameToLayer("Wall"))
        {
            WallSparks();
        }
        else if (other.gameObject.layer == LayerMask.NameToLayer("Platform"))
        {
            PlatformSparks();
        }
        else if (other.gameObject.layer == LayerMask.NameToLayer("Breakable"))
        {
            BreakableSparks();
        }
        else if (other.gameObject.layer == LayerMask.NameToLayer("Hazard"))
        {
            HazardSparks();
        }
    }