How do I make like a dashing script where u double click w and it dashes you forward like in anime games and stuff. Do I use body velocity or is there another method?
COMMUNITY QUESTION
How do I make a player dashing script?
1 answer
###Since you did not attempt this/did not provide code, I will only point you in the right direction.
local UserInputService = game:GetService("UserInputService") -- service to get User Input
UserInputService.InputBegan:Connect(function(input)
if input.KeyCode == Enum.KeyCode.W then -- if they pressed w
-- I will leave you here. It is up to you to do the dashing and all that.
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
