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)
local part = game.Workspace.model.Chandelierpart4 while wait(.1) do part.CFrame = part.CFrame * CFrame.Angles(math.rad(5), 1,0) end
Here is the answer I found it out. :)