Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I want to make a sound roll off but it just won't do it. how do I do this?

Asked by 3 years ago
Edited 3 years ago

I did some research and I found that the sound has to be in a part so I moved it in a part of the model but now I can't hear the sound at all. I really don't understand how this works. Can somebody help me?

This is my script.

local sound = script.Parent.PickaxeHitSoundEffect

sound.EmitterSize = 5
0
so you want to get music in your game and everybody hear it or what? LiffisBiffis 27 — 3y
0
No, I want to make a sound fade away when you walk away. cossie300 -2 — 3y
0
I figured it out. cossie300 -2 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago

Ok so, I've put the sound into a part with this script also in the part and it worked.

local sound = script.Parent.PickaxeHitSoundEffect

sound.RollOffMaxDistance = 200
Ad

Answer this question