Request for Delay during Button Press for Macro

Hello! I just started using the program and while trying to make an auto clicker macro, I crashed the program and froze my computer as it would click as many times as it could while I held down the trigger button. If there was a delay you could set by ms, that could fix the issue.