Part created inside localscript wont rotate

function rotate(degrees)
	wedge:SetPrimaryPartCFrame( * CFrame.Angles(math.rad(degrees),0,0))

the part was created inside of the localscript the server cant see it

Could you elaborate more on what you are trying to achieve?

rotating the part

1 Like

In what direction do you want to rotate the part? Because I see you rotate it in a X-Axis or Z-Axis.