Right now it is like:
If ramupgradenum is 1 and 2 and 3 etc... then Set text to "2GB Ram" and "4GB Ram" etc...
It never triggers because it's not possible that ramupgradenum would be all of these values at the same time. Also if they would somehow it would only trigger the last Set text to "30GB Ram"
Not sure how you want it to be but you could use something like
System on start
Text Set text to "" (Clears the text)[/code:k8f6b7iy]
System Every 0.5 seconds
System ram (global number) < 30
[code:k8f6b7iy]System Add 2 to ram
Text Append ram&"GB Ram"&newline[/code:k8f6b7iy]
You should probably read on how events work [url]https://www.scirra.com/manual/75/how-events-work[/url]