How do I teleport player with fixed rotation?

Would that still happen even though the target is my player? I mean it shouldn’t teleport anything else.