The text is an idiomatic expression that means if one cannot handle the pressure or difficult conditions, they should leave or stop what they're doing. It does not play on different meanings of a word or similar-sounding words.
If you can ' t take the heat , get out of the kitchen .