Call Function Only on Client, or Only on Server

Thanks for the response. Before I commit to turning the rest of my code into multiplayer, could you tell me if I did the below screenshots right? So that I know that I understood everything correctly.

The goal currently is to replicate sprinting, in a way that character doesn’t feel lag.
I tested and this works, but working doesn’t necessarily mean that I did it correctly.

P.S. I know that for this simple speed change it would be better to not use tick, but I’m gonna use much more complicated calculations on client to set target speed, and this will make things much easier, and the branch check ensures it will fire the server RPC only when necessary.