Ok I have used this script many times however It has failed me. I am wanting to have an object rotate in a loop however I need help with applying the loop I know it is a while wait statement but I tried applying it and I am guessing I wrote it wrong. I am going to give you guys the script before the "while wait do". And if it is ok please give me an example of applying the statement. Thank you.
local part = workspace.Drum
while wait do
part.CFrame = part.CFrame * CFrame.Angles(math.rad(9), math.pi, math.rad(180))
wait (0.1)

2 comments
We'll need the full script to see what you did wrong.
it could be you're just not seeing the rotation, though that may not be the case with 9 degree increments. Is your script outputting any errors? You might need to add an "end" at the bottom of the script