Why is my character not playing his running animation anymore?

I tried adjusting my previous code to match the one in this tutorial. (Code is shown at 38:09-38:21).

However, after doing that, my character’s animations no longer play when he runs or jumps.

What do I need to fix?