I make money scripts a lot and I hate it when the intvalue goes negative, and i know theres a way to make it not go negative so, if anyone can help me out with this that would be great, thanks in advance?
COMMUNITY QUESTION
How do i stop an IntValue from going negative?
1 answer
Since you haven't provided any script, here are some options: When you deduct cash, check if that have enough, OR just have a while loop, that if the values goes below 0, set it back to 0.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
well i want to keep the money going up, and not end at 2 billion