another problem with my Miku beam function

i recently made a post to fix my advancement not being detected but now, coding a bamboo stick to set a cooldown to it broke the advancement detecting it. sorry for bad English

Continue to help post