Isn’t sprinting just setting Max Walk Speed? Show us your StartSprinting event.
If you’re are indeed setting Max Walk Speed, just add a boolean variable called “CanSprint” and set it default value to true. In StartSprinting, if CanSprint is false, set Max Walk Speed to walking speed. If it’s true, set Max Walk Speed to your sprinting speed.
Then you just need to set CanSprint to false when you run out of stamina and to true when it has regenerated. So in your Drain Stamina graph, set CanSprint to false BEFORE the StopSprinting node and replace the StopSprinting node with the StartSprinting node (since this node will trigger walking if CanSprint is false).
And finally in the RegenStamina graph, connect the first branch node’s True pin where you set CanSprint to true.
That should do it. Let me know if your setup for sprinting is different than what I mentioned.
edit: I’ll make you an update graph in a moment. I have a few errands to run first.