What if I clone a model who has yet to replicate any of his children?

Hi, from the client side, I need to clone some models that are in ReplicatedStorage. These models can have quite a few descendants and are created by the server at any time. I ask this question to know if roblox internally solves this problem and ends up cloning the models correctly, or if we would end up with incomplete models.

1 Like

From my experience, as long you use wait for child you won’t have incomplete models.

So WaitForChild applied to a model also waits for all its descendants?

The model will clone properly but to access a specific descendant or child you must still use WaitForChild on it.

ROBLOX (should) be storing model data as a hidden property of the model itself, so I highly doubt you would experience “incomplete models” as you phrase it.

If it becomes an issue, locate the deepest descendant of the model and use :WaitForChild on each model descendant up until the aforementioned deepest descendant.

In my case I don’t know how many or what the descendants are called, but I don’t need to do any extra processing. That way I’m satisfied knowing I won’t end up with incomplete models. Thank you for your help.

Useful tip. I just noticed.