Removing and added static mesh component

Doing this will still allow the player to add the component again even if it was destroyed? Im kind of new here, would you please please show me what the nodes would look like? I dont know what to connect whit what to what you are explaining. Kind of desperate here