Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to rotate a model once without using a for or while loop?

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))

1 comment

0

Works fine.

1 answer

✓ Accepted answer

You could use CFrame.Angles?

NewMask:SetPrimaryPartCFrame(NewMask:GetPrimaryPartCFrame() * CFrame.Angles(math.rad(90),0,0)) 

1 comment

0

I will try

This discussion is preserved as it was. New answers, comments, and votes are closed.