My double tap script is not working by not printing "Double Tap: W"and I do not know whats up with it, can I get a hand? Script:
UserInputService.InputBegan:connect(function(input, gameProcessed)
if input.KeyCode ~= Enum.KeyCode.W then return end;
if gameProcessed then
else
if not Pressed then
Pressed = true
KeyPress = tick()
elseif Pressed then
if tick() <= KeyPress +0.2 then
print("Double Tap: W")
end
end
Pressed = false
end
end)

2 comments
you probably should check if it's NOT gameprocessed
try < and not <=