I\'m using a counter to implement double jump, but it only works sometimes. The character is able to triple jump from time to time.
{ // Start is called b