What the title says!
You have two options. First is to edit a part's Rotation property.
workspace.Part.Rotation = Vector3.new(50,50,50)
The second way to to use CFrame.Angles(). This is basically the same as Rotation, except it's a CFrame, not Vector3. This will also make the part ignore other parts - it will just go through them.
workspace.Part.CFrame = CFrame.Angles(50,50,50)
while true do wait() workspace.BrickName.Rotation = Vector3.new(0,0,0) wait(1) workspace.BrickName.Rotation = Vector3.new(0,90,0) end
Try this :)