Not Really a Double Jump

I have no idea why but sometimes it makes the triple jump possible even though I make this for 2 times to jump only in my code for no reason. Here’s what my code looks like:

im here to help. your coding sounds looks a little complicated.

Don’t mind the sound check, it for something else.

here it is…
Flowlab - teaching tutorial
if you want me to do air jumps (like in blox fruits) ask me please… Thanks!
(note that there are multiple levels, please ignore them… that’s previous people that i had helped before)