double jump with character controller

Hi, I’m doing my first fps game and I followed a brackeys tutorial to learn how to make the player move. The issue is that I want a double jump. Does anyone know how to make a double jump with brackeys script?
thank you!

same here