Double Tapping makes me loop animations like crouch

When i go from idle2crouch it works fine with a single tap of a button, but when i double tap it loops the animation. i know its making my variable true, but how do you stop from being able to double tap?