You should NOT use Wait for this, just have On touch as the top event, then use sub-events to break down the extra conditions:
On touched object "UpButton"
System | Upgrade = 0
Money >= 30____________________|___System | Set Upgrade to 1
Else
System | Upgrade = 1
Money >= 100____________________|___System | Set Upgrade to 2