Well I'm building this amusement park ride in which it rotates its self all around. How do I script it to do this?
COMMUNITY QUESTION
How do you make bricks rotate through a script?
1 answer
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)
1 comment
0
Also make sure that you remember to anchor it, this is a problem I see far to often. Ex: game.Workspace.Part.Anchored = true
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
What rotates it self around?
Part of the model which is the ride cabin and the giant rod which holds it to the standards.