Car speed boost isn't working correctly

So, I've been working on a collab called Penguin Racing, and I have a feature for when you hold down shift, it will speed up. The problem is instead of going the way of the arrow key your holding, it goes the opposite way. Here is the link to my project: Snap! 6.8.1 Build Your Own Blocks

It's this.

idk why, but when you do change [vel] by (-1) it works.

Just saying, you should put in a check to make sure the right arrow key is pressed, so, you know, when you press shift while stopped, it doesn't give you a speed boost.

Thanks, it worked! But now the boost bar doesnt change now. It just stays at 100.

Wdym?

well, just change this

to this

That doesnt work, the mobile speed on? variable is 1 when the mobile speed button has been activated, and 0 when its not activated.
EDIT: nvm I figured it out.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.