HELP FOR SPRINT REPLICATION :(

Hello everyone ! I have a little problem with the replication of the sprint in multiplayer, given that my game uses stamina during a sprint I would like to make this blueprint understand that when the stamina is exhausted the players must walk and not keep running, can you help me? I thank you in advance ! :slight_smile:

and here is how my stamina blueprint is (if that helps)

all of the stamina and sprinting logic needs to be run on the server only

when the player inputs a a button its basically asking the server can i do this

then you can RepNotify back any values you need for the UI

I’ll try this when I have some time tomorrow and I’ll let you know!