X axis keeps going to Z axis on Motor6D Orientation

I’m trying to make the X rotation of this Motor6D but it will always stop at Z, I need help with this.

		local Motor6D = Lucille:FindFirstChild("Lucille")
		Motor6D.Part0 = Char.Torso
		Motor6D.C1 = CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
		Motor6D.C0 = CFrame.new(-0.025, 0.148, 0.6)*CFrame.fromEulerAnglesXYZ(math.rad(45),math.rad(90),math.rad(0))

Final Orientation:
wrong axis

Thanks.

Because fromEulerAnglesXYZ applies Rotations in a Z, Y, X order.

I tried inverting the values but it’s still the same.