Here’s an update. I got it working better now. However, I want to add W, A, S, and D, not just W. So I tried adding the A and using the same logic from the W. It works but the problem is now when i press A and then W or vice versa in succession, it will register that as a “double tap” even though they are two different keys. So it should only dash when one key is double tapped. Not a mixture of any key. How can i fix this?