BLutooth conetdt but doesnot obey orders

Guys I made an RC car It worked well once but then stopped obeying any BT rules what is the problemm here ??

Board Arduino Leonardo
BT Module HC-05

CODE:

char t;

void setup() {
pinMode(13,OUTPUT); //left motors forward
pinMode(12,OUTPUT); //left motors reverse
pinMode(11,OUTPUT); //right motors forward
pinMode(10,OUTPUT); //right motors reverse
pinMode(9,OUTPUT); //Led
Serial1.begin(9600);

}

void loop() {
if(Serial1.available()){
t = Serial1.read();
Serial1.println(t);
}

if(t == 'F'){ //move forward(all motors rotate in forward direction)
digitalWrite(13,HIGH);
digitalWrite(11,HIGH);
}

else if(t == 'B'){ //move reverse (all motors rotate in reverse direction)
digitalWrite(12,HIGH);
digitalWrite(10,HIGH);
}

else if(t == 'L'){ //turn right (left side motors rotate in forward direction, right side motors doesn't rotate)
digitalWrite(11,HIGH);
}

else if(t == 'R'){ //turn left (right side motors rotate in forward direction, left side motors doesn't rotate)
digitalWrite(13,HIGH);
}

else if(t == 'W'){ //turn led on or off)
digitalWrite(9,HIGH);
}
else if(t == 'w'){
digitalWrite(9,LOW);
}

else if(t == 'S'){ //STOP (all motors stop)
digitalWrite(13,LOW);
digitalWrite(12,LOW);
digitalWrite(11,LOW);
digitalWrite(10,LOW);
}
delay(100);
}

The problem is that you did not read the guidance on how to post on this forum...

(And we lack plenty information)

Ghazaly:
It worked well once but then stopped obeying any BT rules what is the problemm here

Going on the information you give, "You forgot to switch it on" is as good an answer as any. It has almost certainly nothing ting to do with the code, but probably quite a lot to do with something you don't talk about.