Tool that unanchors certain parts when clicked

I want to make a tool that, when the player holds it, will unanchor parts named “breakable”. Seems like an easy thing to do but I’ve tried and can’t seem to get it to work.

To be more specific, I built a door that is boarded up. The player has the find a hammer that is hidden somewhere so that they use it to break the boards off the door so they can get inside.

1 Like

Check if the Target.Name is Breakable.

you can use Tool.Equipped to detect when a player starts holding a Tool (or use mouse.Target , depends on what you want to do) , then use CollectionService to loop trough the objects that are “breakable” , or just make a Folder and put all the breakable objects into it if you want to do it the simple way