I have tried a few different ways with no success. This works fine for one part I just don't know the right way to do it for more parts. I am trying to it for ten different parts. Any direction I can be pointed in would be great. Thanks
local part = script.Parent.Part1 local copyPart = part:clone() while true do part.AncestryChanged:wait() wait(60 * 2) part = copyPart:clone() part.Parent = script.Parent end
You can use a for statement!
local part = script.Parent:GetChildren() -- change this to the part locations, but keep :GetChildren() because it is needed. local copypart = part:Clone() for i, v in pairs(part) do v.AncestryChanged:wait() wait(120) v:Clone() -- i changed this because i thought it might work doing it this way, but change it if needed v.Parent = script.Parent end end