Hi
I’m not exactly an expert here - but from what I can see I must assume you’re using the same variable for your W and A logic. You’ll have to have a separate “# presses” variable for each key. Alternatively, reduce the delay on your set #presses to 0, although that would probably affect your gameplay.
Multiple variables should be the way to go