Real time mutiplayer rotatation

hi, how would i update the player’s rotation in game?
for example
I’m facing this way


but it shows I’m facing this way

how do I make it update player rotation?
game