Model Doesn't Move Properly

Hey, It’s Me Again!

So i’m making a plant game where you plant plants, now in this game i have a folder in replicatedstorage
with all the plants in the game.
so when you plant a plant and it eventually grows, it clones a copy of the plant’s model and places it on wherever you planted it.
Now it Should do that, but it doesn’t (i mean it clones and moves) but it only moves the primary part.
if i use

Model.PrimaryPart.Position = Script.Parent.Position

it only moves the primary part, not the entire model.
how to fix this?
when you hover over the property primarypart it literally says that if you move it the model moves with it, but it doesn’t work.
thanks in advance!

Model:PivotTo(script.Parent.CFrame)
or
Model:PivotTo(CFrame.new(script.Parent.Position)) if you don’t want rotation

why do you have to do it like that?

Try using Model:SetPrimaryPartCFrame() instead.

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