I know how to make complete rotations for a brick, but how do you make rotations that stop at a certain point and not make the brick rotate fully?
Fully rotating script:
while true do
script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0,0.1,0)
wait(0.02)
end
A recording of what I want to happen:
https://gyazo.com/0fde00cd2028caf9403d45eebd7a4a21
What's happening is that I want the brick to rotate at one position, stop, then rotate back. How would I do that?

1 comment
Oh thanks, I get an understanding of for loops and rotation now.