Well I'm building this amusement park ride in which it rotates its self all around. How do I script it to do this?
To rotate a brick you have two options.
First, you can use the Rotation
property, like so:
workspace.Part.Rotation = Vector3.new(5,5,5)
The second way is to use CFrame.Angles()
. I prefer this method because it will not be affected by other blocks in it's way.
workspace.Part.CFrame = CFrame.Angles(5,5,5)