How to spawn character facing the right way

I am making a obby and the player gets teleported the opposite way from the obstacle

local posToLookAt = --The position you want players to look at
local player = --The player
local character = player.Character or player.CharacterAdded:Wait()

character.PrimaryPart.CFrame = CFrame.new(character.PrimaryPart.Position, posToLookAt)

Send more info if you want me to be more specific

1 Like

how am i supposed to find the pos to look at?

Use Vector3 datatype.

can i use the orientation property?

If using spawn points, all you have to do is make sure the spawn points front face is facing the way you want them to spawn

do i use a decal to check the face