How to make a Character be able to swim,Sprint,fly,crouch without them insterspepting one another!

I have been working on this game im making for quite awhile and i seem to not be able to get the character to fly and swim or even input crouch in properly without it messing with another one. This would be great if i can get the character to fly , swim and crouch without no problem. with all animations with them as well. If anyone can help please answer.