I need help with topbarplus

I’m trying to make a button give the player a tool when selected and removed when deselected how would I go about doing this? (With the dropdowns inside of topbarplus)