Glenrothes Juniors were one of four teams taking part in the Abbeyford Leisure Trophy hosted by St Andrews United at Barnetts Park.
The first round saw Glens taking on St Andrews Amateurs who proved to be tricky opposition.
It was 0-0 at half time, but the second half introduction of veteran striker John Martin turned the game.
He scored one and set up another two, seeing Glens through to the final 3-0.
The opposition were hosts St Andrews Utd who took an early lead through Stevie McManus on eight minutes, but it was only to last for 60 seconds as Charlie Scarborough equalised.
The same player got on the scoresheet again on 27 minutes to put Glens in front.
Saints battled to get back on terms in the second half and just when it looked like Glens would leave with the trophy, up stepped 16-year-old trialist Conner Horsburgh who smashed the ball in to Jack Small’s net from all of 35 yards in the 91st minute.
Finishing level, the final went to penalties and Glens were thwarted by Saints’ goalie Duncan Bruce who saved two of their three penalties from Scarborough and Craig Wallace, while Saints hit four from four thanks to Mackie, McManus, Schiavone and Robbie Holden to run out winners.
In the third v fourth play off, Greig Park Rangers thumped St Andrews Amateurs 7-0.