detect if a player has stopped crouching

is there a way to detect if a player has stopped crouching? i want if i stop crouching that the scoreboard resets
Continue to help post