How would I rotate a model to a set degrees?

So I am trying to rotate a model to a set degree, in this case 0,0,0 or no rotation, I have this script:

script.Parent.Trunk.CFrame = * CFrame.Angles(math.rad(0), 0, 0)

But that does not work. Is there anything else? I have looked everywhere, but I can only find sripts that rotate a model on a loop (think a ferris wheel) and I tried to make it work with what I want, but it does not. I have also found scripts that are stand alone (no loops) but they just don’t work.
It is also a model, not a single part. It has a primary part too

1 Like

What about it isn’t working? Are you trying to rotate the whole model?

model:SetPrimaryPartCFrame(model.PrimaryPart.CFrame * CFrame.Angles(math.rad(0), 0, 0)) 

Yea, the whole model I am trying to rotate

Try this:

local CF = Model:GetPrimaryPartCFrame()

Nice thanks for the help


1 Like

I read that wrong don’t reply back

1 Like