How to make a temporary Speed Boost

I want to add an item when you touch it it’ll give you more speed for a few seconds. I know how to make an item speed you up, but I don’t know how to make it stop.

Use a toggle switch and timer, the toggle switch to change from, say, 5 speed to 7 speed, and the timer to toggle it back.

1 Like

If you don’t mind could you show me an example?

Sorry I’m not on a computer right now, but I’m sure someone here can help you. It’s also the same thing as making a sprint button, if you’ve made that before.

1 Like

I’m here what’s the problem lol?!

1 Like

Needs a speed boost ramp.

2 Likes

Hey @kkstrain1, can I have a link to your game?

2 Likes

@AbstractGallery https://flowlab.io/game/play/1608075
Sorry it looks a little plain and buggy, I’ve been working on the animations

2 Likes

Also thank you @meburningslime

1 Like

Did you create an object for the speed boost?

1 Like

Yeah I did, I named it speed block. It’s a purple block. I’m just trying to use a block for now until it works. Then I’ll customize it.

1 Like

Alright, I’ll get to work!

1 Like

Wait no it’s grey sorry. Also thank you!

1 Like

Here is a quick video I made because I feel like if you were to do it this way I might not be able to explain it in text.

2 Likes

Anyone see any reason why this won’t work?
@meburningslime

2 Likes

Thank you so much!!!

1 Like