So I am wanting a button to control when it can rotate a drum I am totally stumped but if it is ok I would love the help.
Here is both scripts-
local button = script.Parent, false button.MouseButon1Down:connect (function() if state == false then end end)
That one was for the button
This one is for the Drum- local part = workspace.Drum while wait(.01) do part.CFrame = part.CFrame * CFrame.Angles(math.rad(9), math.pi, math.rad(180)) end
Please help, Thank you