How to script unequipping one tool instead of all of them

Hi I was trying to script a way to hold down a key and it would equip a tool but when you stopped holding down on that key it unequips the tool but I cant find a way to only unequip one tool because what I tried was Unequiptools(tool) (tool was the script.Parent because this local script was in the tool) but it wouldn’t work and now it just unequips all the tools

UnequipTools doesn’t expect any arguments, it simply unequips all equipped tools, if you want to unequip a specific tool set its ‘Parent’ property to the player’s ‘Backpack’ container.

Tool.Parent = Backpack --Unequip specific tool.

1 Like