Here’s a simple Blueprint version of it using Rep_Notify enumerator (CharMoveSpeed).
When you Set/Change a Rep_Notify variables value its OnRep Function is executed. I take advantage of this on the client to force calling the function by changing the value locally.
I then call the server to run the flow logic to make its own determination.