I am trying to make a Part rotate with CFrame but i can't and i don't know why.
Here is the script:
wait(3)
local block = game.Workspace.Rotating
local newCFrame = CFrame.Angles(0, math.rad(45), 0)
block.CFrame = newCFrame
--Rotating is the name of my part.
Please tell me what i am doing wrong.

5 comments
block.CFrame = block.CFrame * CFrame.Angles(0, math.rad(45), 0)
Thank you very much!
pls use code block.
you cant in a comment
@AradIsHere for the question...