Hi! I’ve got a problem by rotating a part.
I want to rotate a part on its X Orientation. But somehow its changing the Z value.
{CFrame = CFrame.new(xcyrcle, ycyrcle, zcyrcle)* CFrame.fromEulerAnglesXYZ(math.rad(60), math.rad(90),0)}
What I have tried so far is putting the X value in the Z and changing the constructors to CFrame.Angles
, etc
without success.
I’m new to scripting so I don’t know what mistake I have done here.
Can somebody please help me? Thanks.