Need help getting stamina bar to decrease on movement (Just normal walking, not sprinting)

That’s the problem for me I think, I don’t know how to call the events since when I tried calling the events they trigger at the same time and ignoring the conditions.