How to change orientation

How to change orientation/angles of an Part?

I tried

Orientation = CFrame.new(0,5,0)
6 Likes

local part = workspace.Part
part.Orientation = Vector3.new(0, 0, 0)

You need to assign a Vector3 value to modify the orientation of a part instance.
Check out the following:
https://developer.roblox.com/en-us/api-reference/property/BasePart/Orientation

17 Likes