here is a better project https://scratch.mit.edu/projects/448395010/
thanks to @AbdulaTheArab for the first project you can not change the speed any more