How would I make a player face a certain direction?

Hi, I teleport players in my script, but I find they all face different ways after they teleport and I was wondering if there was a way to make a player face a certain direction no matter which way they were looking before? I’d appreciate any help, thanks!

1 Like

In CFrame.new(), there is a parameter that determines the direction the player faces.

hrp.CFrame = CFrame.new(position, directiontolook)

You could also (if using a part to set their position) rotate the part however needed and just set the player’s CFrame to the part’s.

hrp.CFrame = part.CFrame
6 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.