Is this Multiplayer movement logic correct?

Ok, I lied. I still have jitter when playing over the internet. Is there some way to fix that?