No response from Serial.read()

Hi all. I am trying to use my slider on App Inventor to change the speed of my shield motor, but it seems like the slider only turns the buzzer and LEDs on when it reaches a certain number.

image


I was wondering if anyone would know what went wrong and why.