I really do think that if statement is your problem. That if statement is basically saying that if the clicked value (which equals 0 because you never increase it except for INSIDE that if statement) is > clicks (which = 25) then do all the robbing stuff.
This statement never gets to run because clicked is never larger than clicks because you haven’t increased it.