local mytablewithparts = game.Workspace.Buildings:GetChildren()
local tablewithclonedparts = {}
for i, v in pairs(mytablewithparts) do
local clonethevalue = v:Clone()
clonethevalue.Parent = game.Workspace.Clonedparts
clonethevalue.Name = "clonedbuilding"
clonethevalue.Anchored = true
clonethevalue.Position = Vector3.new(math.random(1,100), 1 , math.random(1,100))
table.insert(tablewithclonedparts, clonethevalue)
end
for i, v in pairs(tablewithclonedparts) do
wait(1)
v.Color = Color3.new(math.random(1,255), math.random(1,255), math.random(1,255))
end