Player isnt looking at correct orientation

if i make a localscript like so

local plr = game.Players.LocalPlayer
wait(10)
local char = plr.Character

char.HumanoidRootPart.CFrame  = char.HumanoidRootPart.CFrame * CFrame.Angles(math.rad(180), 0, math.rad(180))

if i move around a bit it rotates the character but relative to its current orientation
what i want to do is rotate the character so its facing the GLOBAL orientation of 180, 0, 180

Wouldn’t you just do char.HumanoidRootPart.CFrame = CFrame.Angles(math.rad(180), 0, math.rad(180))?

1 Like

that resets the players position to 0, 0, 0

Try this?

local plr = game.Players.LocalPlayer
wait(10)
local char = plr.Character
local Position = CFrame.new(char.HumanoidRootPart.Position)
char.HumanoidRootPart.CFrame  = Position * CFrame.Angles(math.rad(180), 0, math.rad(180))
1 Like

Character.HumanoidRootPart.Orientation = Vector3.new(180,0,180)

2 Likes