I am making some sick bullet whizzes, and i could not figure out how to make a delay to the second sound, because you hear the bullet impact first before you hear the shot. here is the code right here :
local Meta = Instance.new("Sound")
Meta.Name = "Crack"
Meta.SoundId = "rbxassetid://196857754"
Meta.Volume = 0.7
Meta.Pitch = 1
Meta.Looped = true
Meta.Parent = bullet
Meta:play()
local Feta = Instance.new("Sound")
Feta.Name = "Plound"
Feta.SoundId = "rbxassetid://1055286841"
Feta.Volume = 2.5
Feta.Pitch = 1
Feta.Looped = false
Feta.Parent = bullet
Feta:play()
Feta is the bullet impact which will play first, however meta plays the same time as Feta which is why it needs a delay, now if i put a wait at:
local Feta = Instance.new("Sound")
wait(2)
Feta.Name = "Plound"
Feta.SoundId = "rbxassetid://1055286841"
Feta.Volume = 2.5
Feta.Pitch = 1
Feta.Looped = false
Feta.Parent = bullet
Feta:play()
it works but the whole gun delays which means it loads every two seconds so what must i do to make Meta delay for 2 seconds then play sound?

2 comments
When you want to play a sound, you should do :Play() instead of :play() since :play() deprecated
ok