Robbing game press 'E' isnt working

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.

1 Like

1Urge is correct:

Ignore my other “solution” because I just skimmed your code; it’s not applicable. 1Urge’s conclusion is still correct

1 Like