How To Make DASHES Like A PRO | Roblox Studio

preview_player
Показать описание
In this video I tell you how to make dashes in #robloxstudio . If you're planning to make any type of combat game inside or outside of #roblox this video will be helpful if you're planning on adding dodging / dashing mechanics.

As always, keep leveling up bro, be safe, and I'll see you when I see you, peace...

Рекомендации по теме
Комментарии
Автор

Shotout to Ludius that make Roblox Studio tutorial vid interesting and fun to watch.

Donpa
Автор

I fucking love Ludius tech tips!
🎇🎇🎇🎇🎇

AethernityArts
Автор

I don't know how, but I was just talking about working on dashes on my game this morning. the video helped me a lot thank you

gmrdeath
Автор

Very good fam and btw good job also make the sequel to the vid about the direction of dash and stuff

taiwofunmi
Автор

Shiii, I was just looking for this you came to my recommendations bro.

bbhoosnse
Автор

W vid, but is this a more optimized or better way to handle the dashes camera, speed, hitbox checking than tweening the velocity to 0 and having a local script which uses run service or GetPropertyChangedSignal() to handle the camera for dash and hitbox checking? (ignoring the fact that client hitbox is vulnerable)
The reason I'm asking this is cause I'm kinda new to scripting ;-; and so far I've only made 2 dash scripts and the recent one was made with tweening and allat I said above so I was wondering if using a for loop can do the same job if not better? I can already see how a for loop is easier to handle than having 2 different scripts for camera and tweening / hitbox checking.

justrandomgamer
Автор

yo w! i added a script that adds a boolValue into the player that is called can input so if the player m1s you cant do any inputs until the cooldown is done so you can dash mid m1 and i made it so you cant m1 while dashing the same way as well. i also changed the script a bit for the dashing to add anims

BallerIsCool
Автор

Do you think you could maybe make a Cooldown for the dashes and make the front and back dashes have a longer cooldown then the side / left and right dashes?

DigitalGeometryDash
Автор

Didnt think to make an input manager, I have like 6 different scripts that could've been done so much better lol, thanks

oskiebadoskie
Автор

do the block system tutorial man, there's a lot of ways of doing it but I want to see your way I trust ya

TypicalJihadi
Автор

Could you do a video about how to make a ragdoll system 🙏, also nice video

YourDayTrialHasEnded
Автор

next vid idea : How To Make Deepwoken Combat Like A Pro | Roblox Studio

redash
Автор

can you make a tutorial on how to make a character selection system

nirconic
Автор

Also u can use tween service to make a smooth dash

Ususito
Автор

the dash doesnt work right when you don't use shift lock though

Gramk
Автор

can you make a tut to add animation to it?
please and thank you

ilove-NATHAN
Автор

dash script:
local dashBE = script.Parent

local lp =
local char = lp.Character
local hrp: Part =
local hum: Humanoid =
local animator: Animator = hum:WaitForChild("Animator")

local dashDuration = 0.35
local rate = 0.01

dashBE.OnInvoke = function(dashDirection)

local bv = Instance.new("BodyVelocity")
bv.MaxForce = 0,
bv.Parent = hrp

local dashStrength = 100

local minimumDashStrength = dashStrength * 0.15

local amountOfIterations = dashDuration / rate

local removalOfStrengthPerIteration = dashStrength / amountOfIterations

for i = 0, dashDuration, rate do

if dashDirection == "Front" then

bv.Velocity = hrp.CFrame.LookVector * dashStrength

elseif dashDirection == "Back" then

bv.Velocity = (hrp.CFrame.LookVector * -1) dashStrength

elseif dashDirection == "Right" then

bv.Velocity = hrp.CFrame.RightVector * dashStrength

elseif dashDirection == "Left" then

bv.Velocity = (hrp.CFrame.LookVector * -1) dashStrength

end

if dashStrength > minimumDashStrength then

dashStrength -=

if dashStrength < minimumDashStrength then

dashStrength = minimumDashStrength

end

end

task.wait(rate)

end

bv:Destroy()

end

and the input manager script:

local uis =

local dashBE = script:WaitForChild("Dash")

uis.InputBegan:Connect(function(input, gameProcessed)

if not gameProcessed then

if input.KeyCode == Enum.KeyCode.Q then

local dashDirection = "Front"

if uis:IsKeyDown(Enum.KeyCode.A) then

dashDirection = "Left"

elseif uis:IsKeyDown(Enum.KeyCode.S) then

dashDirection = "Back"

elseif uis:IsKeyDown(Enum.KeyCode.D) then

dashDirection = "Right"

end



end

end

end)

EPK_KNG
Автор

Pretty chill video but body velocity is NOT the way to do it. It’s a deprecated system

AwsomeMannn
Автор

Please dont use remote functions for dashes, thats bad practice especially if anyone wants to make a game.

gkawrbool