It turned out to spam left mouse button only. So I tried applying delay for both buttons.
Now it does not work at all.
Could anyone help me fix this problem? I have just started using AHK. I have already read documents about key delay but did not understand.