Rf receiver/servo problem

I wrote this program and it uses Simple RF T4 Receiver - 315MHz Toggle Type to make it wireless but when I wrote the code to try to interface it, it was not working the servo I was trying to control just twitches back and forth. Does someone have a suggestion on how to fix it?

#include <Servo.h>
#include <LiquidCrystal.h>
#include <Wire.h>

Servo myservo;  // create servo object to control a servo
int servo_pin = 12;
int brightness_lcd_pin = 11;
int text_lcd_pin = 10;
int color_lcd_pin = 9; // Sets the pin values for the receiver
int pos = 95;    // variable to store the servo position

#define REDLITE 0
#define GREENLITE 1
#define BLUELITE 2
 
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd (3, 4, 5, 6, 7, 8);

int brightness = 255;

void setup() {
  myservo.attach(13);  // attaches the servo on pin 9 to the servo object]
  pinMode(servo_pin, INPUT);
  pinMode(brightness_lcd_pin, INPUT);
  pinMode(text_lcd_pin, INPUT);
  pinMode(color_lcd_pin, INPUT);
  pinMode(REDLITE, OUTPUT);
  pinMode(GREENLITE, OUTPUT);
  pinMode(BLUELITE, OUTPUT);
  brightness = 100;
}

void loop() {
  {
  if (digitalRead(servo_pin) == 1)
    for (pos = 95; pos <= 0; pos -= 1) { // goes from 0 degrees to 95 degrees in steps of 1 degree
      
    myservo.write(pos);              // tell servo to go to position in variable 'pos'
  }
   if (digitalRead(servo_pin) == 0)
    for (pos = 0; pos <= 95; pos += 1) { // goes from 0 degrees to 95 degrees in steps of 1 degree
      
    myservo.write(pos);              // tell servo to go to position in variable 'pos'
  }
  
if (digitalRead(brightness_lcd_pin) == HIGH)
   brightness = 200;
  }
   if (digitalRead(brightness_lcd_pin) == LOW)
   brightness = 100;
  
if (digitalRead(text_lcd_pin) == HIGH)
    // set up the LCD's number of rows and columns: 
  lcd.begin(16, 2);
  // Print a message to the LCD.
  lcd.print("Goodbye Rocky  ");
  lcd.setCursor(0,1);
  lcd.print(" Ford Highschool ");
   if (digitalRead(text_lcd_pin) == LOW)
    lcd.begin(16, 2);
  // Print a message to the LCD.
  lcd.print("Class of  ");
  lcd.setCursor(0,1);
  lcd.print(" 2019!!! ");
}

Break the problem into two parts.

First write a program to make the servo do what you want, and get it working.

Then write another program to test the receiver connection.

When both programs work perfectly, combine them carefully.

    for (pos = 95; pos <= 0; pos -= 1) { // goes from 0 degrees to 95 degrees in steps of 1 degree
     
    myservo.write(pos);              // tell servo to go to position in variable 'pos'
  }

How long will this for loop() take to execute? In that time, how far will the servo have moved?

If you think that the servo will have moved from position 95 to position 0, you are wrong. The servo will likely still be around position 94.9999 when the for loop ends.

Then, you tell it to go the other way, immediately.