Mason County got back in the game by opening the fourth quarter with a 10-1 run,
The Royals led 77-76 with 40 seconds to play and 79-78 with 17 seconds left.
Afer three-point play by Magoffin County, Mason County missed a three-point shot in the closing seconds. The Hornets hit one of two free throws with a tenth of second showing on the clock.
Magoffin County senior Trenton Russell hit seven three-pointers and scored 36 points.
Point guard Jaren Lovely made 12 of 16 free throws and scored 29 points.
Ryan Mullins added a double-double with 10 points and 11 rebounds.
Mason County was led in scoring by Isaiah Garrison with 29 points.
Leevi Dunaway had a double-double with 22 points and 10 rebounds,
Caleb Boyd added 11 points.
The Royals have lost three straight games after opening the season with three consecutive victories,
Mason County will host Bracken County Tuesday night.
Magoffin Co. (3-2) Lovely 29, Arnett 7, Mullins 10, Russell 36
Mason Co, (3-3) Dunaway 22, Garrison 29, Perkins 4, Boyd 11, Jackson 8, Kumler 5
Magoffin Co. 22 22 16 22- 82
Mason Co. 22 13 11 33- 79