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

Setting a models parent

Asked by 10 years ago

I've had a problem for a long time, I'm not able to set the parent of a model with all of it's children still inside. It still moves the model but then deletes its children.

1
Could you provide some code? I'm not sure I can help you with your problem if I don't know whats wrong. AwsomeSpongebob 350 — 10y

2 answers

Log in to vote
1
Answered by 10 years ago

Model.Parent = script.Parent.Whatever

Child items should not be deleted, you might be doing it wrong.

Ad
Log in to vote
1
Answered by 10 years ago

Your question wasnt very detailed so I will presume that you want me to make a model.

Model = Instance.new("Model") Model.Parent = THEPARENTNAMEHERE

If you are asking why it removes the children, well, it shouldn't at all to be honest.

Answer this question