Stop shooting when I press a gui button

I have a Gui menu set up in a shooting game, and when I press the button I shoot, as it is left click. How can I stop this from happening?

I have just a basic button, so there is no need to put up code for this.

Take a look at these questions:

I believe they're asking the same thing as you, and were marked as correctly answered. Hope it helps!