How to activate two different LEDs depending on data output

What do you mean it doesn't do what I want it to? Everything seems just fine on the serial monitor. The val2[] array seems to update just fine also if I print it there's values in there and they update. what do you think needs to be fixed?