In fact, I wasted a lot of time on some problems and I didn't have time to implement the fact that the monster can attack. So, for the moment, it is completely harmless. Same for the main character, he can shoot with the gun but it has absolutely no effect.
Basically, I was hoping to make it so that the monster could be neutralized after a few shots (about 8) while the monster would kill us almost in one shot.