[Solved] Animation stuck

I had a problem that was in my last post that no one answered, but the post was under my original post so I don’t blame you.
The problem said “I ran into another problem that I need help on which is weird.
I added the “if player is on floor” condition to the right and left key conditions for movement. That fixed a problem I had where the walking animation would play if the player hit left or right on the ladder.
Now, if the player gets off the ladder, the idle animation will play even when the player is moving. is it a bug?”
I still can’t figure why its happening

I fixed it guys. Sorry about that.
I just separated “is not moving” from “is on floor”
can’t believe it was that simple.