Not a really big question, but how do you change a parts orientation (rotation) via script?
✓ ANSWER ACCEPTED
How do you change a parts orientation via a script?
1 answer
✓ Accepted answer
The rotation of a part is largely dependent on the use of CFrames. CFrame refers to both the position and orientation of the part.
All of the information you will need on CFrames can be found here.
Specifically the CFrame.Angles section in that wiki is what is important towards rotation.
There is also a section on that page on rotating bricks farther down (You can jump straight to it using Ctrl + F).
Please remember to accept my answer if this has helped with your problem. If there is any other information that you would like to know please feel free to message me or comment on my answer. Thanks!
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
kk, thanks