How to Add Movement Sounds
Download – Movement Sounds Script
How To – Add Movement Sounds
What’s up everyone welcome to buzzygames, my name is BuzzyGamesBeth and today I’ll be teaching you how to add movement sounds!
- Different kinds of sounds or sound effects are going to play depending on what kind of materials we touch. The default material or sound that plays when we touch plastic is this pretty basic sound, and we want to change that.
- I’m going to go ahead and add two parts. Anytime a player touches these parts, a different sound is going to play. My white part is going to be plastic and the green part is going to be grass.
- Inside of StarterPlayer and StarterCharacterScripts, go ahead and add a local script. Delete our print statement. We have a variable for our humanoid, and then another variable for any time our humanoid root part is running. now we have a while true do loop. Now if it is a humanoid then if the humanoid is walking over material that is plastic then this sound ID is going to play. I’m going to adjust the volume so that it’s two.
- I have another if and then statement where if a player or humanoid is walking over any material that is grass, then this specific sound ID is going to play. You can add however many if and then statements you want in here. Just remember to end it, or it’ll automatically end for you guys. Since i only have two parts which are two parts with two materials, plastic and grass, I’m going to end there.