Buford and the Galloping Ghost

Buford and the Galloping Ghost was a 1978-1979 American animated series that aired on the NBC television network. Each episode was split into two segments: The Buford Files, about two crime-solving teens and their bloodhound Buford; and The Galloping Ghost, about two teenage cowgirls who befriend the ghost of a prospector while working at a dude ranch.

The Magic Whammy (Season 1, Episode 10)
The Great Zambini uses hypnosis to commit a series of robberies.