My friend is making a clicking simulator and has a few lines of code that hes stuck on.
When rebirthing he would like the cost of a rebirth to multiply, from 10 to 20 from 20 to 40 and so on, but he doesnt know how to do that (neither do I) . Heres a picture of the code.
So far we have tried many other things and even somehow multiplying the amount of rebirths you get…