You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I want to fix the sound effects in my game so that they don’t sound terrible anymore -
What is the issue? Include screenshots / videos if possible!
The sounds appear fine when played within explorer, but when they are played via a script while testing, they crackle and sound choppy -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?SoundService:PlayLocalSound(sound) instead of just sound:Play() oddly enough fixes the problem, however I do not want these sounds to be only heard by the client.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
Here is a video showcasing what the sounds should sound like, vs what they sound like when play testing. As you can see, there is a very apparent crackling or choppiness to the sounds.
This is the code, pretty straight forward and self explanatory.
local swingSound = swingSoundArray[math.random(1, #swingSoundArray)]
swingSound.Parent = script.Parent.Handle
swingSound:Play()
wait(1)
swingSound.Parent = script.Parent.SwingSounds
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.