local LogsValue = game.ReplicatedStorage.LogsFound
for i, Wood in pairs(script.Parent:GetChildren()) do
if Wood:IsA("Part") then
local ProximityPrompt = Wood:FindFirstChild("ProximityPrompt")
ProximityPrompt.Triggered:Connect(function()
Wood:Destroy()
LogsValue.Value += 1
end)
end
end