Sprinting function not working

so i make a sprinting function that i thought would work but it didnt did i do something wrong?

heres the function

what part is not working exactly? Is it the animation from walking to running or is it the speed of the character?

If it is the latter check if you set the variable Max Running Speed to a value matching the running speed in the animation bp. I assume you have made a blendspace for Idle_Walk_Run? In here you had to set a certain speed for the character to blend into the running animation.

The speed is not working its not speeding up when you press shift and i already set the variable for max run speed

Try replacing the input action with a key temporarily, to rule out the input action, and check that the Max walking speed on your character blueprint is higher or equal to the “max running speed” that you are trying to apply when you . They have sneaky extra limits that you can set in the viewport.

the variables are allright heres the values

Its on the right

and i already change the function to left shift but still didnt work