How would i change it from making new part to cloinng

  1. to able to clone my ore from replicated storage
  2. cloning dose not work
  3. i have check the developer hub and it did not work
while true do
	wait(2) 

	local part = Instance.clone("Part",script.Parent.Parent.Parent.Parent.DroppedOres)
	part.Name = "DroppedPart"
	
	local upgrades = Instance.new("Folder", part)
	upgrades.Name = "Upgrades"
	
	local cash = Instance.new("NumberValue",part)
	cash.Name = "OreValue"
	cash.Value = 2 
	part.TopSurface = "Smooth"
	part.BottomSurface = "Smooth"
	part.CFrame = script.Parent.CFrame - Vector3.new(0,1,0)
	part.Size=Vector3.new(1,1,1) 
	script.Parent.Thump:Play()
end

Are you re-creating the part or “clone” it. If your trying to clone it one for one, roblox has a built in clone function.

local Ore = ReplicatedStorage.Ore

while wait(2) do
   local ClonedOre = Ore:Clone()
   ClonedOre.Parent = workspace
   ClonedOre.Name = "DroppedPart"
end
i have a ore in folder called Ore so what do i do 
local Ore = ReplicatedStorage.Ore.iron