Killing a spider can make it rain. Bad luck? Not so much...
According to Tom Sawyer it is bad luck. If I remember correctly his “adventures” began when a spider dropped into the flame of Tom’s bedside candle. And we all know how his summer turned out. But that novel was full of old superstitions that we’ve forgotten.