So I want to make a system when you fall it starts playing a wind sound that starts silent then goes louder and louder until a limit of course. This is an example:
But I don’t know how to make the script. I cant wrap my head around it since I’m still not a advanced scripter I don’t know much about a few things needed.
Is your sound seamless when looped? It will need to be.
Are you falling at normal Roblox gravity speeds? If so, you’ll need to fall pretty far or you won’t have time to get the effect.
I would suggest detecting the players state, trigger the sound on the falling state. Then I’d just use variable or maybe a tween to scale the volume and maybe even the pitch(speed) of the sound playback over time until the splat. (detect when the falling state is over and stop your wind sound)
This will probably need to be a localscript that monitors the humanoid state continuously. You can read about the states here:
We don’t really give scripts, but based on the video I’d say it involves the velocity of the character, the state of the character (Falling state), and the volume of the sound dependent on the velocity.
You can try it, but I wouldn’t use velocity as that number will get very big very fast (with default roblox physics and gravity) and you’re pitch could end up being a high pitched squeal. I would just use free fall time and have a max so the pitch and volume will level at some point.
You should start by making a simple localscript that just prints out your character’s humanoidstate and just observe in the output when you do various jumps and falls.