This is exact code, It always worked before...
Object.CFrame = Cframe.fromEulerAnglesXYZ(1,4,6)
Object.CFrame = CFrame.fromEulerAnglesXYZ(0,0,0) basically just rotates the brick depending on what your numbers are.