I have this gun system in my game, but unfortunately, every time I fire/reload/equip my weapon, the audio for it is played across the entire map and everyone in the server can hear it.
--Reload Replicated--
remotesFolder.Reload.OnClientEvent:Connect(function(reloadTime, maxAmmo)
wasUnequipped = false
reloading = true
reloadAnim:Play(0, 10)
script.Parent.Sounds.ReloadSound:Play()
wait(reloadTime)
if currentGui ~= nil and wasUnequipped == false then
currentGui.Holder.Ammo.Text = tostring(maxAmmo).."/"..tostring(maxAmmo)
end
reloading = false
end)