Hey! To be honest, I have no clue what was originally wrong with it lol. I search the part of the code where it calculated Prayer but couldn't find anything that would cause it to do that. However, that wasn't the only problem it had, so I just decided to rewrite most of the code. I was able to make it more accurate and shorten it about 200 lines by adding loops to the calculations. Now, it simulates the player turning in each set of points (by ones, tens, or hundreds) and calculates the new XP after each set is exchanged. If you gain a level, your tickets will be worth more, and it now takes that into account. The only thing it can't calculate is the possibility of gaining levels while you're simply playing the game, but trying to calculate that is basically impossible. Thanks!