okay, so, i’m making a horror game, and there’s a section that a set of planks are blocking you way, and you need to destroy them to continue and this script makes so that each set of planks get destroyed one by one, but for some reason the sound that is on a folder on sound service doesen’t play when it’s supposed to.
Please take note that i’m not expecienced in scripting so this script it’s pretty simple and if you try to help try to keep it simple so that i can understand.
Are there any errors? You didn’t use WaitForChild with Swing. I would also recommend cloning the sound into the actual parts, that way the sound comes from them rather than everywhere at once. Lastly, you would use task.wait() as it supersedes wait() and is more accurate.
What’s the properties of the sound? Any errors in the output?
You could try putting the sound into a part near the planks. That way it plays from that part.
You would have to make the rolloffmode linear instead of inverse. Inverse would play the sound louder the further you’re away from it.