I tried but I cant seem to find a way trying to rotate only 90 degrees but without for or while loop here's my code I been using:
NewMask:SetPrimaryPartCFrame(NewMask:GetPrimaryPartCFrame()* CFrame.fromEulerAnglesXYZ(90,0,0))
I tried but I cant seem to find a way trying to rotate only 90 degrees but without for or while loop here's my code I been using:
NewMask:SetPrimaryPartCFrame(NewMask:GetPrimaryPartCFrame()* CFrame.fromEulerAnglesXYZ(90,0,0))
You could use CFrame.Angles?
NewMask:SetPrimaryPartCFrame(NewMask:GetPrimaryPartCFrame() * CFrame.Angles(math.rad(90),0,0))
I will try
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Works fine.