You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Manually set a cframe orientation via script
-
What is the issue? the second value of the orientation changes from -90/90 to -116.62/116.62
-
What solutions have you tried so far? Changed from Angles to fromOrientation, loaded the existing value and set those
both of these do the same thing
local x1, y1 = model.Torso["Left Shoulder"].C1:ToOrientation()
local x2, y2 = model.Torso["Right Shoulder"].C1:ToOrientation()
model.Torso["Left Shoulder"].C1 = CFrame.fromOrientation(x1, y1, (desiredAngle + climbFudge)) + Vector3.new(0.5, 0.5, 0)
model.Torso["Right Shoulder"].C1 = CFrame.fromOrientation(x2, y2, (desiredAngle + climbFudge)) + Vector3.new(-0.5, 0.5, 0)
model.Torso["Left Shoulder"].C1 = CFrame.fromOrientation(0, -90, (desiredAngle + climbFudge)) + Vector3.new(0.5, 0.5, 0)
model.Torso["Right Shoulder"].C1 = CFrame.fromOrientation(0, 90, (desiredAngle + climbFudge)) + Vector3.new(-0.5, 0.5, 0)