local LogsGui = script.Parent.LogsGui
local LogsFound = game.ReplicatedStorage.LogsFound
script.Parent.Touched:Connect(function(Hit)
if Hit.Parent:FindFirstChild("Humanoid") then
local Character = Hit.Parent
local player = game.Players:GetPlayerFromCharacter(Character)
local Wood = player.Character:FindFirstChild("Log")
LogsGui.logsLabel.Text = LogsFound.Value.." / 8"
if Wood then
Wood:Destroy()
LogsFound.Value += 1
end
end
end)