How do I fix my FPS controller from sliding?
This video shows me with the problem explaining it
One strange thing I notice in your movement script is you are using transform.up for forwards/back ins$$anonymous$$d of transform.forward, which in theory should make your capsule move along the Y axis ie. "jump" ins$$anonymous$$d of move forwards.
Yeah for some reason the transform.forward makes my character move up and the transform.up makes him move forward. weird
I see why. It's because you have "Direction" on your capsule collider set to Z, then your gameobject rotated -90 on x axis to compensate.
I don't know if it's related to the sliding but you should change your capsule collider Direction to Y and gameobject x rotation to 0,, and use transform.forward in your script. You'll have to change your camera pos/rot too. I don't know if the sliding issue is related but it might be and it's worth fixing anyway to avoid further confusion!