How do I make a dash in my game?

I’d like to make a dash similar to the one in this gif.
ezgif.com-gif-maker
However; I don’t want the player’s altitude to lower over time. It uses a stamina system that I’d also like t o add. I don’t have any scripting experience, so I would appreciate it if someone were to help me out.

just change the local character’s humanoid walkspeed and change locally also the gravity with a loaded costume animation

You could use a body gyro or body force. Sadly I didnt use both of these in one of my project so I cannot help much

You can add velocity in the camera’s direction by using code similar to this:
Rootpart.Velocity += Camera.CFrame.lookVector * 100
The number on the end is how powerful the boost is. This dash is only a one-time boost however, but if you looped it it would likely have a similar effect to the gif.

1 Like

The example you gave has a lot of different things going on. Trails, moving the player, playing an animation, and changing the cameras FOV.

Here is an RBLX file that you can open in Roblox Studio that contains my attempt at recreating the dash:
Dash.rbxl (37.4 KB) ( Rushed, but it works. Also, the UI does nothing.)

Video of it:

If you want to understand everything, here is a bunch of stuff that could help:

Hope this helped and feel free to change anything about the dash thing I made. :slight_smile:

2 Likes

Thanks so much!! I’ll be sure to check out the sources you gave for more info

1 Like