Complex sentence: Having a change of heart, Johnny agrees to help the sheriff and through a vision at the crime scene, he deduces that it's the sheriff's own deputy who is committing the murders.
Split into simpler sentences: Having a change of heart, Johnny agrees to help the sheriff. Through a vision at the crime scene, he deduces that it's the sheriff's own deputy who is committing the murders.