If you are searching for this episode, look for the story where Milo literally loses his shadow. It’s the one where the Murphy’s Law anomaly becomes sentient. The episode opens with a deceptively normal morning. Milo Murphy (voiced by "Weird Al" Yankovic) is preparing for a "low-risk" bike ride to the new arcade downtown. His best friends, Zack and Melissa, are skeptical—there is no such thing as low-risk around Milo.
While adjusting his backpack’s reflective safety strip, Milo accidentally casts a sharp shadow against a magnetic anomaly field caused by a previous pistachio-plant explosion (a callback to Episodes 19-21). The shadow, infused with concentrated Murphy’s Law energy, detaches from him and scurries away.
The answer, delivered with a broken pinball machine and a genuine smile, is pure Milo Murphy’s Law : Embrace the mess. It’s yours.