Thanks bro! The problem is that I can't get it to work -.-,
I'm trying to get the limit to 20 but I can still buy items upp to 99 =(
Then you made either a mistake when placing the script in the script editor, or you made a mistake with the notetags for the item limits.
Can you please describe what you've done or give us a screenshot of the item where the limit notetag didn't work?
(you did read the scripts instruction that you have to put the limit tag into every item's notebox that should have a different limit than 99?)
Edit:
I just checked the script again, it also has a default max setting at 999. If you can buy up to 99 but not higher, then this suggests that something went wrong with the script itself or your edit of the script's configuration, because otherwise you would be able to purchase more than 99 items.