Speed not reverting to walk speed when setting Bool to false.

I am new to the unity movement system and have set up a sprinting mechanic, however, when the IsSprintHeld Bool is set to false, my speed is not reverting to the walking speed.
I have no error messages and the bool is updating properly when shift is selected.

Formatted Code: https://codebeautify.org/csharpviewer/y224018c3

You were already linked to the right way to format code in your last post.
https://discussions.unity.com/t/481379
Why do you insist on using some random website? People want to see your code and help you, not have to click on some sketchy link.