I've been trying to make a double tap script but nothing is working :/
if input.KeyCode == Enum.KeyCode.D or input.KeyCode == Enum.KeyCode.Right and doubleTime == false then
doubleTime = true
wait(.5)
if doubleTime == true then
humanoid.WalkSpeed = 24
print("run")
else
humanoid.WalkSpeed = 16
end
end
this is one of the attempts I did also in a renderstepped event the doubleTime = false after a wait but this still does not work correctly I want it to be like if I press d-d in under 1.1 seconds I start sprinting.
thanks for taking the time reading or helping me. ~KIHeros
(this question was rushed...)

1 comment
It works! thanks so much! :)