How do you make an upgrading system like in Fishtopia?

Oh, and