I'm trying to rotate a model using a script, and I'm using SetPrimaryCFrame. I can set the position (CFrame), but how do I set the rotation?
I would do
model.PrimaryPart = part --part = a random part in your model model:SetPrimaryPartCFrame(CFrame.Angles()) --model = your model --Put whatever you want to rotate the part by in the parenthesis.