MANHATTAN, Kan. -- Texas' four-game losing streak was as baffling to Isaiah Taylor as it was for anybody on the Longhorns' bench.
On Saturday, Taylor and his team took an approach that had been missing for nearly three weeks.
"We played desperate," Taylor said. "Today we didn't get down on ourselves. Everyone played with an attitude and it's sort of like (a sense) of cockiness that we needed to win and that's what happened."
Taylor scored 23 points, including two foul shots with one second left that sent No. 25 Texas over Kansas State 61-57 Saturday.
Connor Lammert had 12 points and nine rebounds for the Longhorns (15-8, 4-6 Big 12).
Thomas Gipson missed a layup with less than five seconds that would have tied the game. The Wildcats' fourth straight loss dropped them to .500 this late in the season for the first time since Feb. 25, 2004.
"There are tears in the locker room," Wildcats coach Bruce Weber said. "I've got to help them. It's tough on me, tough on our staff, but we've got to be there for them."
Lammert said finishing possessions and playing a full 40 minutes became even more evident after the Longhorns' most recent loss against Oklahoma State at home.
"Coach talked to us and told us that each game is going to come down to one or two possessions," Lammert said.
Taylor scored at least 15 for the fifth straight game. He and Lammert both matched their highest point total of the season.
After taking a 42-41 with 10:34 left, Kansas State fell victim to the Longhorns' length as they sealed the paint and pushed their lead to 49-44 on Lammert's 3-pointer.
The Wildcats' shot just 32 percent from the field (15 of 47), but went 8 of 16 on 3s.
The Longhorns eliminated Kansas State's best interior scoring option in Gipson, holding him to five points on 0-for-7 shooting.
"We are a long team," Texas coach Rick Barnes said. "Our zone has been good. We have won four conference games and we played zone every minute of those games with the exception of the last two minutes here today."
Kansas State made only 3 of its first 21 shots, and Taylor pushed the Longhorns' to their largest lead at 24-12 with 4:16 left in the first half.
Kansas State: The Wildcats' average of 58.9 points per game was the lowest in the Big 12 after 10 games and the lowest for the program since 1982-83.
Texas hosts TCU on Wednesday.
Kansas State plays at West Virginia on Wednesday.
'You want that opportunity': Current men's college basketball coaches on why they transferred as players
Some of the top coaches in men's college basketball were transfers. As more players than ever have entered the portal, Myron Medcalf asks these coaches about their decision to switch schools.
Texas Tech Red Raiders land five-star men's basketball recruit Elijah Fisher, who will reclassify into 2022 class
Five-star small forward Elijah Fisher committed to Texas Tech on Thursday, choosing Mark Adams' program over a final list that included Kentucky, Louisville and Memphis. The Canada native also announced he would reclassify into the 2022 class.
Former St. John's baseball player, coach, athletic director Jack Kaiser dies at 95
Jack Kaiser, a former St. John's baseball player and coach who later guided the New York City university through a changing landscape in 22 years as athletic director, has died. He was 95.