I want to move all the parts in a model, but I want to be able to do it without making 16 scripts with basically the same content. How do I do that?
You can use either the MoveTo()
function or the SetPrimaryPartCFrame()
function.
1 | model:MoveTo(Vector 3. new( 50 , 0 , 50 )) |
1 | model:SetPrimaryPartCFrame(CFrame.new( 50 , 0 , 50 )) |
Keep in mind that the SetPrimaryPartCFrame()
functions requires the model to have a primaryPart
.