Tree chopping system not working

I’m having some issues with a tree choping system i have made. The tree won’t detect that the axe is touching. I’m trying to print out hit, but only the player bodyparts is being printed out. Please help.

The script:

– This script will make the player able to chop down the tree
– Making the “GameFolder” variables

local GameFolder = game.Workspace.GameFolder

local Sounds = GameFolder.Sounds

local ChopSound = Sounds.SoundEffects.Trees.Chop

– Making the tree variables

local Tree = script.Parent.Parent

local Leaves = Tree.Leaves
local Log = Tree.Log

– Making variables for lives and debounce

local db = false
local lives = 5

– Making a function on hit

Log.Touched:Connect(function(hit)

print(hit.Name)

end)

Did you turn off .CanTouch property of axe?

1 Like

Did you try ignoring any parts that are not the axe? Perhaps the axe does hit at times but the other parts touch so much more often that you miss it in the output?

I checked the .CanTouch property, yes. The bool is set to true