Attempt to index nil with parent line 49

Try this:

stageClone:MoveTo(Vector3.new(stageClone:GetPivot().X , stageClone:GetPivot().Y , 380 + (910 * (i-1))))

Idk, but something weird happens with this piece of code.
Stage 2 vanishes completely and stage 1 gets cloned twice in the same spot.

And @lilmazen1234 code doesnt work either…

No errors in both.

Any errors?

It had to come after:

stageClone.Parent = CurrentStages

then it worked.

1 Like

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