Answered by
6 years ago Edited 6 years ago
OH I THINK I UNDERSTAND NOW, so the a=blablabla =+ 1 can be a problem. NOt that its not in quotes. quotes are for string). but i think its that when you set variable that equals something then does something to it, its kind of like a function, so its mor like a = do this, and that is not a number so i cant be less than 10, so do this maybe?:
3 | game.SoundService.allstar.PlaybackSpeed = a |
4 | a = game.SoundService.allstar.PlaybackSpeed+ 1 |
to
2 | game.SoundService.allstar.PlaybackSpeed = a |
So basicly i litteraly changed like the whole thing to a for loop until it finishes.
This makes every second the sound or whatever goes 1 higher because a means go from 1 to ten by ones so every second yeah, it does that. Hope this helps / answered this :D
OH and by the way in case you dont know, dont waste storage in workspace, make a script in ServerScriptService and put this code inside and script will work. kk dude;)