why dosnt this work???
if touch.x>=45 and touch.x<=55 then level=0 init() Coins=0 end
if touch.x>=45 and touch.x<=55 then level=0 init() Coins=0 end
The syntax looks OK, but what init() are you calling? Calling the same init() that microStudio calls to start your program, would cause an error.
@eli_liu0 I see no error in this particular code. There might be an error elsewhere, please show us some more complete code or make your project public and send us the link.
dw i fixed it. gilles you were right lol.