Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How do I move every part of a model at once?

Asked by 5 years ago
Edited 5 years ago

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?

1 answer

Log in to vote
1
Answered by 5 years ago

You can use either the MoveTo() function or the SetPrimaryPartCFrame() function.

model:MoveTo(Vector3.new(50,0,50))
model:SetPrimaryPartCFrame(CFrame.new(50,0,50))

Keep in mind that the SetPrimaryPartCFrame() functions requires the model to have a primaryPart.

0
How do I set the primary part thinknoodlesmine 9 — 5y
0
Set it under the properties tab Amiaa16 3227 — 5y
0
ok, thanks thinknoodlesmine 9 — 5y
Ad

Answer this question