Problem with jumping

I have figured out how to make a jumping falling and landing animation all work together. my only problem is if i continue to hold the space bar the very beginning of the jump animation will play repeatedly and i am trying to find a way to make it if space bar is still being held after the jump is complete nothing will happen