How can i test for a crouch un crouch and then a crouch so a double tap of crouch button
Im trying to run a file when i recieve a double crouch but i dont know how so far i have it on a single crouch with the line
Continue to help postexecute as @a[scores={crouch=1..}] if items entity @s weapon.offhand minecraft:carrot_on_a_stick[minecraft:custom_data={fire_gem:1b}] run say test
but how do i test for two crouches in a short amount of time maybe like 5-10 ticks in 1.21.1