I would do it On Tick with delta seconds correction or on separate timer with bool as gate for removing stamina and enable disable sprint.
I would do it On Tick with delta seconds correction or on separate timer with bool as gate for removing stamina and enable disable sprint.