Most bug sprays mess with the roach's internal circuitry, their nervous system. Unable to remain coordinated, staggering around intoxicated, they'll flip over and perish, legs to the sky.