Clicker game problem

Gonna be straight to the point.
I have a clicker game where you click and upgrade your multiplier *2 each time: ex(1x>2x, 2x>4)

The only problem with this is that when you reach big numbers, it becomes so big you go in the negatives and it breaks the game.

How can i fix this? Thank you.

You could use the BigInteger Library.

You could also use StringValues to hold your numbers instead of IntValues (as StringValues can hold up to 200,000 characters and you can imagine what type of number could fit in that).

3 Likes

Gonna look into both of those and see which one is better. Thank you so much for responding