Problem with loop

Hello everyone, I want to make a order button system that you need to click in the great order. But when the player is clicking button in order, that restart the process. But each time the repeat wait starts again, the processes are superimposed because in the output, we observe double prints if we are wrong once, then three times when we are wrong 3 times…

Help me