of     1   

TheBeaver101
#220029370Thursday, June 29, 2017 2:01 PM GMT

Anyone here know how to make a sound script so when a brick accelerates sound pitch increases? I'm making a racing game.
TheBeaver101
#220029397Thursday, June 29, 2017 2:02 PM GMT

I'm not expecting like a full script, but if anyone knows of a tutorial or they are willing to give a script that'd be cool.
Proxinable
#220030400Thursday, June 29, 2017 2:23 PM GMT

The Pitch property of Sound was deprecated and replaced by PlaybackSpeed. You can probably find a way to modify it to suit your needs. Wiki API:Class/Sound/PlaybackSpeed
TheBeaver101
#220030509Thursday, June 29, 2017 2:25 PM GMT

Thank you so much, a serious reply, you don't know how much I thank you.
TheBeaver101
#220030664Thursday, June 29, 2017 2:29 PM GMT

Wait, but how do I make it so the higher the speed the higher the pitch?
Proxinable
#220030889Thursday, June 29, 2017 2:33 PM GMT

Find or create a formula that takes the velocity (and possibly the current PlaybackSpeed) as an input and produces a float value that can be written to PlaybackSpeed.
TheBeaver101
#220207648Saturday, July 01, 2017 5:17 PM GMT

can you send an example?

    of     1