HC-05 Bluetooth module constantly outputting 0 to serial monitor

here is my code:

#include <SoftwareSerial.h>

SoftwareSerial bt(10,11);
int state;

void setup() {

void loop() {
  if(bt.available() > 0){
    state = bt.read();



Now previously, I had it up and running properly and it was able to receive and transmit data perfectly fine. Now suddenly it seems that it doesn’t even correctly read incoming data anymore. The output I get in the serial monitor is a constant stream of 0, even when i try to send data. So I am wondering if anyone else has previously had this issue?

I don't see anything in that code to write to the Serial Monitor.