Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Help with tool that destroys certain part?

I need help making a hammer(Tool) that only destroys a certain part called WoodBlock with click detector Please if you could help, it would be appreciated

1 comment

0

We need more information

1 answer

✓ Accepted answer

Inside that WoodBlock you could add a script:

script.Parent.Touched:Connect(function(hit) -- Detects if its because touched
	if hit.Parent:FindFirstChild("Handle") then -- The tool needs a part called handle 								 
        	script.Parent:Destroy()
	end
end
		

1 comment

0

I thought it would work but it didnt. Not sure why

This discussion is preserved as it was. New answers, comments, and votes are closed.