function Fire_Gun()
if FireSound then
local ff = Instance.new("Sound")
local bb = Instance.new("Sound")
bb.SoundId =""
ff.SoundId =""
bb.Volume = 1
ff.Volume = 1
bb.Pitch = 1
ff.Pitch = 1
bb.Parent = script.Parent.Handle
ff.Parent = script.Parent.Main
bb:Play()
ff:Play()
game:GetService("Debris"):addItem(bb,1.3) --here
game:GetService("Debris"):addItem(ff,5) -- & here
This script is just from my gun no need to fix anything here just a question on the last 2 lines when my gun fires adds alot of sounds it's good and then adds to debris them, but first i want them to stop the sound and THEN add it to debris, cuz if it doesn't stop before added to debris it still plays the sound so how can i fix that ?
P.S i removed the soundids cuz don't want to show them.
AND NO the wait can't be added it will make the gun delay shoot to the time u put wait()

2 comments
No u cannot add the wait because it makes the gun shoot in that delay what wait is
@Bulvyte Debris uses pretty much the same wait system, and I'm pretty sure there's no ItemAddedToDebris event to hook to. But I will look into other options.