K.C. and Craig discover that the Storm Maker device cannot be powered without a rare chemical known as Dilithium. They go undercover as workers at a truck stop restaurant so they can obtain the Dilithium from a truck that is delivering it.
Meanwhile, Ernie gives Judy an emotion upgrade to increase her mental sensitivity, to help her maintain her cover as a real child. At school, Ernie overhears Brady during a phone conversation and discovers that he is an enemy agent. Brady uses memory spray to erase Ernie's recent memory. Marisa visits the house to ask Ernie questions regarding K.C.'s latest mission. Ernie then overhears Marisa talking to Brady on a cellular phone, and learns that she is a spy. Marisa erases his recent memories with memory spray. At the truck stop, the driver of the Dilithium truck walks inside for lunch, allowing K.C. to obtain the chemicals. Brady, wearing a ski mask, takes the Dilithium and hijacks the truck. K.C. attempts to take control of the truck, and scratches part of Brady's face through the mask opening, before falling off the truck.
Later, K.C. meets Marisa and Brady at a restaurant, and notices the scratch marks on his face. Although he says the marks came from a cat, K.C. realizes that Brady was the truck hijacker.