- while wait(1) do
- for i,v in pairs(game:GetService("Workspace").Harvestable.World:GetDescendants()) do -- yea
- if v.Name == "CopperOre" then --example: "Sand", "Stone", "Tree"
- local thing = v -- yea
- local Event = game:GetService("ReplicatedStorage").Events.Harvest.Harvest
- Event:FireServer(thing)
- end
- end
- end