I made a script to make a backup of every model inside a group, and then clone them in ReplicatedStorage, but it doesn't seem to work. Can someone help me with this?
Script
Upgrades = script.Parent:GetChildren()
for i = 1, #Upgrades do
Upgrades[i]:Clone()
Upgrades[i].Parent = game.ReplicatedStorage.Upgrades
Upgrades[i]:Destroy()
wait()
end
The script's inside a model, sharing space with some other models.

2 comments
Isn't it redundant to clone and then delete the original? Wouldn't it be better to outright set the .Parent of
Upgrades[i]to the model in ReplicatedStorage?Well, I could try Parenting the objects by themselves, so thanks for the suggestion!