Okay so basically i got a gun and the problem is that when i shoot, everyone can hear it from anywhere on the map, so i tried to make a serverscript which is inside a tool:
How does your tool look like? If your tool does not have a Handle part, but the Tool.RequiresHandle is on, then Tool.Activated event will not fire.
So, if your tool does not require a Handle part, turn Tool.RequiresHandle off, otherwise keep it on and make sure a part called Handle is a child of the Tool.
Now try to see if the event responds by putting the print statement inside the function of the event. It should print the statement every time you hold and click the tool if Activated event is connected properly.
Show a screenshot of your Gun_Shot2 Properties.
I think you may have the RollOffMaxDistance probably at the default # of 10,000. This means that everyone within 10,000 studs of the gun hears the sound. Try something like Minimum of 20 and Maximum of 100 for starters.
Personally I like the RollOffMode to be set to InverseTapered as well. Inverse just cuts off at the limit. but using InverseTapered means the sound gets quieter until it disappears at the RollOffMaxDistance.