I’m working on a gun system, and i’m cloning the sound everytime i shoot so that the audio doesn’t cut off, but i’ve noticed that my sound is reverby and robotic sounding whenever I play the cloned version.
I’ve tested the sound without cloning it and it sounds fine. Also it seems like when I’m cloning it I have to manually set the parent otherwise it has no parent instead of having the same parent as the original.
Here’s my code:
function FirearmClient:PlaySound(soundInstance)
local newSound = soundInstance:Clone()
newSound.Parent = soundInstance.Parent
newSound.PlaybackSpeed = Random.new():NextNumber(0.8, 1.2)
newSound:Play()
Debris:AddItem(newSound, newSound.TimeLength)
end