public void Attack()
 {
     if (pms.isGrounded && !pms.isJumping && !pms.isAttacking)
     {
         pms.Attack();
     }
 }