Adam Le Fondre pulled Rotherham out of the mire as they overturned a 3-1 deficit to beat Cheltenham 6-4 thanks to his stunning four-goal haul.
Jeff Goulding got Cheltenham going after just four minutes before Le Fondre levelled with his first - a sweet hit from the edge of the box after a touch from Tom Elliott.
Cheltenham then took over, with Wes Thomas (28) and Shaun Jeffers (36) netting as Rotherham's defence lost their shape and their way.
But Danny Harrison got Rotherham back in it four minutes before the break and Le Fondre netted twice in the space of three second-half minutes - the second after his penalty had been saved.
Ryan Cresswell (55) then gave United some breathing space and Le Fondre added another while there was still time for Thomas to miss a spot-kick and Keith Lowe to add a consolation.