animation freaking out when activating

Hi everyone, I was creating a slide function for my character in my 3rd person world, but when I put everything together and tested it one last time, the slide animation totaly freaked out. Does someone know how to fix this? I think it has something to do with the capsule component, but I’m not sure. This is what it’s supposed to look like:


And this is what it looks like: