Im making a game with a text box, when i collect the coin it adds 1 to the textbox value, but when its 0 and it does + 1 the result is 01
both are numbers, not strings. Code that does the math:
...
Oh, i found the problem..
I used "continue" as a name of a function but continue is a function like in javascript so it ran the continue thing when i pressed the button, not my continue function.