Im not really sure I know what your question is. You spray painted an enclosure for your chameleon and it is killing the crickets? Is your chameleon in the cage now? How long ago did you spray paint it and what kind of spray paint did you use? (name brand? type?)
Tremclad is extremely toxic, paint takes many days to fully cure, up to 28 days in fact. It is poisonous for your chameleon to be housed in that environment. Allow a minimum of 2 weeks before allowing them to return to that enclosure, for proper ventilation and aeration.