Hi, so I have this script where when you touch a part with a tool, the part gets destroyed. In this case it would be labled "Pole". I want it to where when one part touches another part, the part that touches it is destroyed, if that makes sense. So this script would go inside the part I want to be destroyed.

script.Parent.Touched:Connect(function(p)
	if p.Parent.Name == "Pole" then
		script.Parent:Destroy()
	end
end)

Thank you.

2 comments

0

Is the Handle named Pole or is the tool itself named Pole?

0

the tool is named pole