I am trying to make a brick rotate on only the Y axis, is there any way I can get this accomplished?
✓ ANSWER ACCEPTED
How do you make a script that rotates a part?
2 answers
✓ Accepted answer
local part = Instance.new('Part')
part.Parent = Workspace
part.Anchored = true
part.CFrame = part.CFrame * CFrame.Angles(0, math.rad(5), 0) -- change as you wish
Here's a guide
Part.Orientation = Part.Orientation + Vector3.new(0,num,0)
1 comment
0
Cframe is much better cframe.Angle
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Part.CFrame = Part.CFrame * CFrame.Angles(0,math.rad(deg),0)