OAKLAND, Calif. (AP) Tracy McGrady will miss the final two games of the Orlando Magic's road trip to attend the funeral of his great-grandmother.

McGrady, the NBA's leading scorer, told reporters he was leaving the team after Orlando's 110-85 loss to the Golden State Warriors on Wednesday night.

He had 18 points, 10 assists and seven rebounds against Golden State, but shot just 5-of-14 and later admitted he was distracted.

``I've got a lot on my mind,'' McGrady said. ``I wasn't really into the game.''