How do I rotate a primary part's CFrame

Model:SetPrimaryPartCFrame()
Or if you want to use a Vector3 instead of a CFrame, use Model:SetPrimaryPartCFrame(CFrame.new(Vector3.new(x,y,z))

I think I’ve managed to fix the flickering it by adding the current camera, and the part itself to filterdescendants instances

local param = RaycastParams.new()
param.FilterDescendantsInstances = {workspace.CurrentCamera, clone}

Much thanks to @Lordnoobstan and @CookieAroundTheBend for helping me massively when it came to this and much thanks to everyone else who contributed