I am working on a building game, but I am having trouble with one specific error involving CFrames. The purpose of the script is to rotate the model. Any help would be greatly appreciated
This is my script:
model:SetPrimaryPartCFrame(
mod:GetPrimaryPartCFrame() + CFrame.fromEulerAnglesXYZ(Vector3.new(math.rad(90), 0, 0))
)
Error:
Argument 3 missing or nil
I genuinely have no idea what the 3rd argument is.

4 comments
Also, you can't add CFrames. To apply this rotation you'll want to multiply it (*) instead
Thanks for the reminder, I updated the code.
Thanks
Thanks