Hey, I can't figure out how to rotate a player. I'm trying to make sense of CFrames but I am having trouble with it. Here is my code
if hit.Parent:findFirstChild("Humanoid") then
local telepoint = Vector3.new(224.152, 61.043, -519.523)
hit.Parent.HumanoidRootPart.CFrame = CFrame.new(telepoint + Vector3.new(0,3,0))
end
I want the player's orientation to be "0,-168,0" after they teleport, but I'm not sure how to do that since it all seems to have to do with adding and multiplying and stuff like that.
If there is an alternate way to do this without CFrames please let me know but I'm not sure what to do.
Thank you!
