Hi, I have a script that will distribute parts over my map but after they have spawned in and dropped to the ground they will just be removed. I can't figure out why this is happening.
This is the script that clones the part and drops the cloned parts across the map:
for original = 1, 75 do
local pos1 = math.random(-1024, 1024)
local pos2 = math.random(-1024, 1024)
local original = game.Workspace.Health
local copies = original:Clone()
copies.Parent = original.Parent
copies.Position = Vector3.new(pos1, 50, pos2)
copies.Anchored = false
end
Any and all help will be appreciated!

1 comment
I found out that it was actually a script inside the parts that was causing them to be deleted, but all of the answers on this were also very helpful, thank you!