Stamina Bar Not Droping

Hiya so i was following a tutorial where the stamina bar decrease while sprinting it was all fine until i added that when player has no stamina he stops running and now the stamina bar dosnt decrease whats so ever while sprinting
tutorial - UE4 Survival game tutorial PART 3: Stamina recovery and sprinting - YouTube