I am having a problem with my sprint bar. When stop for the sprint bar to increase but start running again while it increases it also try's to decrease at the same time

But I don’t have a function called stamina bar