How can I change walk/run animation when a tool has been equipped?

I’d like to change a player’s walk/run animation while they are holding a tool.

Anyone know how I can go about doing this?