I'm trying to make a double jump script I know how to make the player jump twice but I do not know how to make it work by double tapping w :P
My attempt below V
Input.InputBegan:connect(function(KeyInput)
if KeyInput.KeyCode == Enum.KeyCode.W then
Character.Humanoid.Jump = true
if KeyInput.KeyCode == Enum.KeyCode.W then
Character.Torso.Velocity = Vector3.new(0, 60, 0)
end
end
end)
But that does not work :/ Can someone show me how to do this?
Thanks ~KiHeros

1 comment
good explanation!