Back
Kyle Gilroy headed home the opener for the Ayrshire outfit but Jordan Moore equalised for the hosts midway through the half.
Gilroy immediately restored Troon's lead with Moore again bringing his side level on the half hour.
Scott Lewis put the visitors in front for a third time before Gilroy completed his hat-trick before the break to give them a two-goal buffer.
Gilroy's fourth in the opening stages of the second half looked to put the game to bed but Jimmy Quigley's side rallied as Moore notched his hat-trick and Chris Mahon pulled back another but they couldn't force an equaliser.
Elsewhere, Frew's Scottish Cup third round opponents have been confirmed after Cumbernauld Colts beat Banks O'Dee 3-1 on Saturday.
Renfrew will host their Lowland League West opponents later this month in the historic tie after beating Stirling Albion in round two.
Next up is a return to league duty with a trip to Albion Rovers.
Kick-off on Saturday at The Reigart Stadium is 3:00pm.