I mean, that i actually want to get value X Axis, starting from 0(90) to 180(-90), like X Axis 90 angle gets converted to 0, and then rotating it up, it will increases instead of decreasing until 0 to -90, i want to get a value X Axis from it using some math, not changing CFrame/Position/Orientation.
Basically, it creates a part temporary set to -90 X Axis Angle, and uses Repeat Until for XResult variable and CFrame Angle X, it will degree +1 Axis Angle from temporary part and increasing the XResult variable until the part temporary is same Orientation X from the specified part.
But the problem is that there is a chance of that causing a script timeout with it.