I was wondering how do i change the Var # on button click like say

Var = 100 is the highest it can go then after the button press it goes down to like Var = 90