Help with player switching between attacks, idle, and walk? (noob)

Hi I’m having problem with my animation. Switching between Idle and Walk animation is okay but whenever I try to switch it to Idle to Attack or Attack to Idle or Walk to Attack or Attack to Walk it doesn’t seem to work.

Help?

using UnityEngine;
using System.Collections;

public class PlScript: MonoBehaviour {
   
    public float lookSpeed = 10;
    Vector3 curLoc;
    Vector3 prevLoc;


    float idlechecker;
    bool walk, idle, guard, kote, doo, men, tsuki; 
    Animator PlayerAni;
    Vector3 currentrot;
    int Anitimer = 0 ;

    float speed = 0.5f,TurnSpeed = 2;
    void Start () {
        PlayerAni = GetComponent<Animator>();
        walk = false;
        idle = false;
        guard = false;
        kote = false;
        doo = false;
        men = false;
        tsuki = false;

    }

    void Update ()
    {
        currentrot = transform.localEulerAngles;

        ///animation
        PlayerAni.SetBool ("Move", walk);
        PlayerAni.SetBool ("Idle", idle);
        PlayerAni.SetBool ("Guard", guard);
        PlayerAni.SetBool ("Kote", kote); //attack1
        PlayerAni.SetBool ("Do", doo); //attack2
        PlayerAni.SetBool ("Men", men); //attack3
        PlayerAni.SetBool ("Tsuki", tsuki);//attack4

        idlechecker = (Input.GetAxis ("Horizontal") + Input.GetAxis ("Vertical"));
        if(idlechecker == 0)
        {       
            isIdle ();

        }
        else if (idlechecker != 0) {
            isWalking ();
        }

        if (Input.GetKey (KeyCode.H)) {
            SkillDo ();
        }
        if (Input.GetKey (KeyCode.J)) {
            SkillKote();
        }
        if (Input.GetKey (KeyCode.K)) {
            SkillMen();
        }
        if (Input.GetKey (KeyCode.L)) {
            SkillTsuki();
        }
        if (Input.GetKey (KeyCode.U)) {
            isGuarding();
        }

    }
   
    private void InputListen()
    {
        prevLoc = curLoc;
        curLoc = transform.position;
       
        if(Input.GetKey(KeyCode.A))
            curLoc.x -= 1 * Time.fixedDeltaTime;
        if(Input.GetKey(KeyCode.D))
            curLoc.x += 1 * Time.fixedDeltaTime;
        if(Input.GetKey(KeyCode.W))
            curLoc.z += 1 * Time.fixedDeltaTime;
        if(Input.GetKey(KeyCode.S))
            curLoc.z -= 1 * Time.fixedDeltaTime;
       
        transform.position = curLoc;
       
    }

    //movements
    void isIdle()
    {
        walk = false;
        idle = true;
        guard = false;
        kote = false;
        doo = false;
        men = false;
        tsuki = false;

    }
    void isWalking()
    {
        InputListen();
        transform.rotation = Quaternion.Lerp
            (transform.rotation,  Quaternion.LookRotation(transform.position - prevLoc), Time.fixedDeltaTime * lookSpeed);
        walk = true;
        idle = false;
        guard = false;
        kote = false;
        doo = false;
        men = false;
        tsuki = false;

    }
    void isGuarding()
    {
        walk = false;
        idle = false;
        guard = true;
        kote = false;
        doo = false;
        men = false;
        tsuki = false;
       
    }
    void SkillKote()
    {
        walk = false;
        idle = false;
        guard = false;
        kote = true;
        doo = false;
        men = false;
        tsuki = false;

    }
    void SkillDo()
    {
        walk = false;
        idle = false;
        guard = false;
        kote = false;
        doo = true;
        men = false;
        tsuki = false;



    }
    void SkillMen()
    {
        walk = false;
        idle = false;
        guard = false;
        kote = false;
        doo = false;
        men = true;
        tsuki = false;


    }
    void SkillTsuki()
    {
        walk = false;
        idle = false;
        guard = false;
        kote = false;
        doo = false;
        men = false;
        tsuki = true;


    }


}

nevermind i found an answer already lol