Issue with auto aim function first person shooter

I am making a first person shooter and am adding an auto aim function so the rotator pulls toward the other player in multiplayer. The issue I am having is after the character respawns the rotator is focusing away from the character. A video example is here:

Please let me know if you need any clarifications.

And sorry if this posts twice. It didn’t seem to post the first time.