This is far from the final version of this movement code, and I am constantly expanding and growing it. I am giving links to the Github repo, that way the changes I make will be reflected here accordingly.
This script is the core movement component, handling the locomotion of the player, such as swimming, climbing, running, and jumping, with a few bonus features like diving. As I stated before, it is very complex and based on Catlikecoding's movement tutorial, so you can go there for a more in-depth explanation.
This script controls the players various speeds, like walking, running, sprinting, swimming, and climbing speeds. I separated them out like this to ensure that modifying these speeds, in game and in editor, would be more simple.