Pizza Tower like dash

How do I make a dash that’s like what pizza tower uses

what you could do is add another button trigger and connect it to a new number that adds the amount of speed upon pressing it and when you let go of the button, add a new number to subtract the velocity which would still conserve the same amount of speed intended for the character. An example here:
Screenshot 2025-02-13 10.21.53 AM
When pressing Z, it would gain more speed and when NOT pressing z, it subtracts the added speed, returning it normal or as intended

For the one where you gain speed through holding onto the button,


The number connected to up from keyboard up would be able to reset the speeds that it’s given when set to get
Screenshot 2025-02-13 10.34.42 AM
The timer would set a time for how long you press the button which would add the speed and based on the image, it would add speed 4 times

1 Like

Can a logic gate work

what kind of question are you talking about? the dash doesn’t need a logic gate

1 Like

Well I’m talking about for left and right

Left? negative. Right? positive.

1 Like

I did that it didn’t work

For the left trigger, just the take number connected to up from keyboard and make it -6 and the number with 5 turn it to -5

1 Like

1 Like

Are you using the button trigger dash?

1 Like

Yes its the control Key

And are you making it to where the longer you hold ctrl the faster he goes? I’m just asking if that’s what you are currently planning

1 Like

I want it like that for the dash

Do you have any code that I could use for the run and jump

When you press ctrl, is it supposed to gain a little bit of speed the exact moment you press it? (my last and final question)

1 Like

It’s supposed to gradually get faster

I know, but the exact moment you press it the speed goes from (let’s say) 5 to 6 and then it gradually gets faster the longer you hold it

1 Like

Sure

1 Like

One sec

1 Like