Alternative to GetPrimaryPartCFrame() and SetPrimaryPartCFrame()?

I wish to figure out an alternative to GetPrimaryPartCFrame() and SetPrimaryPartCFrame() due to both of them being deprecated.

There isn’t really any issue scripting wise besides just trying to find the more “up-to-date” version of it.

I have tried looking on the Developer Forum to basically no avail. I apologise in advance if the solution was staring me right in the face.

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

1 Like

The alternatives are Model:GetPivot and Model:PivotTo

Ah, so I could use :PivotTo(PrimaryPart * CFrame) to put the model at the position with the PrimaryPart set as the pivot?

Assuming that I’m reading your message correctly, yes. It works the same way as Model:SetPrimaryPartCFrame and Model:GetPrimaryPartCFrame

1 Like

Alright, thanks a ton!
You helped me alot fr fr

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.