UI ocunter not updating values.

Could you please use the Code Tag?
It’s hard to read.