Logic Error: Gate not opening for condition

However, it does just keep printing the result over and over once the branch is true. Is there a way to only have it fire once, after the condition is true? Thanks.