Gun sound glich

Alright so I’m currently making a gun system, however when you spam fire it causes the sound to glitch. I’ve tried instance.new(“Sound”) and gunSound:Clone() but neither seem to fix it.

Video:

Script:

gunFiredRemote.OnServerEvent:Connect(function()
	local newFireEffectSound =  fireSound:Clone()
	newFireEffectSound.Parent = g19
	newFireEffectSound:Play()
	fireEffect.Enabled = true
	fireLight.Enabled = true
	wait(0.05)
	fireLight.Enabled = false
	fireEffect.Enabled = false
	wait(1.9)
	newFireEffectSound:Destroy()
end)
1 Like

Can you go a bit more depth into this? Are there any errors? And if not, I’m not sure what you mean by “The sound glitches when I spam it” because it sounds perfectly fine to me.