How do I stop Sprinting whilst Croucing?

you can prevent sprinting by checking if isCrouched before:

You can also plug your Crouch into your sprinting logic

Even better turn that part of code into a funtion

Either create a stop sprint function or modify speed when crouched.

I call a function that adjust speed every time my stance changes.