You need a condition that applies regardless of whether any key is pressed or not. Within that conditionyou have to proove whether the strafe is fullfilled, means whether the player moved the full 100 quants, then you can switch keyspace_press back...