4.6.3
Im programming a script that checks if the player has 25 or more "money" before it allows them to purchase the upgrade. However for some reason this line of code only works if its "if Wallet.money <= 25:" Which I obviously dont want.
Could you share more of your script? Make sure to paste code instead of screenshots.
Are you certain your money is greater than 25? How are you checking that this works or doesn’t work?
this is my full code, i have a counter in the game that tells me my money value
Can you share that counter script? Again please paste code as text instead of screenshots.
Have you tried print(Wallet.money) before the if statement?
print(Wallet.money)
if