I want to change the rotation of a part but I don't know how to format it in a statement in a script. I tried this:
script.Parent.Rotation = CFrame.new(0, 0, 0)
but of course it doesn't work, so how do I change the rotation of an object?
This one is better. Try it
while true do script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0,0.2,0) wait(0.1) end