The documentation for CFrame.fromEulerAnglesYXZ() contradicts itself with the order that the rotations are applied in. The name implies the rotations are applied in the order YXZ, yet the description says the order is ZXY.

If this is intended and something went over my head, it’s confusing.

You’ll notice that the order in each of these appears backwards, but that is correct! CFrames are matrices, and these transformations are applied from right to left.