Object cloned doesnt exist sort of

im making a gui of sorts that takes a model and clones it from replicated storage but it doesnt show in the viewport nor does it exist anywhere in explorer and it can print its parents name.

local display = child.Model.Value:Clone()
display.Parent = p.Parent.ViewportFrame

it not being shown in viewport isnt my problem that takes care of itself im really concerned on why this small 2 lines of code works in one part of the script but doesnt whether i isolate this part of the script to just run alone or not.

Is .Value an instance or it’s property?

local display = child.Model.Clone()
display.Parent = p.Parent.ViewportFrame

Is the Value right?

If Value is an object value you need to index its ‘Value’ property, i.e;

local Clone = Value.Value:Clone()

Model is an object value

model is a object value

Weird, are you sure that value isn’t nil? Try parenting this for example to workspace and see if it shows there.

already tried i can print the models name and parent but it doesnt exist but im messing with it and its not even running the script properly even when isolated so im trying to sort it out

ive got it now to go into workspace and the gui but it just will not parent into the viewport

so a wait for child works i guess? as to why it will print it has a parent and says it exists but doesnt throw an error if the parent isnt ready idk but it works so im not gonna question it