Sorry if this is bad it is my first time making a clicker game. Right now you can only buy each upgrade once but thanks to my friend https://scratch.mit.edu/users/LOLDERWORKS i now know how to do it.
LOLDERWORKS because I looked into his Freddi Klicker and looked at the code which gave and me an idea but i'll add the more then one time buy later.