SACRAMENTO, Calif. — Rudy Gay scored eight of his 22 points over the final six minutes, Isaiah Thomas added 21 points and matched his career high with 12 assists, and the Sacramento Kings beat the Boston Celtics 105-98 on Saturday night.