If that's an old G3 (with the tray-loading CD), then you should fix the analog video board (most likely the already-mentioned flyback transformer) or the power supply is shot.
If a newer G3 (slot-loading CD drive), then most likely the same fault, but the flyback transformer is on the Power-analog-video board.