Former Chelsea striker Sam Parkin scored a debut hat-trick as Swindon beat relegated Barnsley 3-1 at the County Ground.
Parkin, who signed in a £50,000 move from Stamford Bridge last week, was soon into his stride as he netted a first-half equaliser.
Chris Lumsden's 30th-minute penalty had put Barnsley ahead, but within two minutes Parkin turned Tykes defender Mike Flynn before curling the ball past goalkeeper Andy Marriott.
Swindon went in front five minutes after the break when Danny Invincible's 20-yard shot was only parried by Marriott and Parkin slotted the ball home from close range.
Flynn brought down Gareth Edds three minutes from time to give Parkin the chance to complete his hat-trick from the penalty spot.