Tim McGraw took us down memory lane recently to the time he nailed a trick shot with Dude Perfect using his guitar.

In a video posted to social media, the "One Bad Habit" singer reminisces on his day spent on a basketball court with the trick shot kings back in 2014. McGraw stands at the three-point line and uses his guitar to hit a basketball into the basket. Ty Toney tosses the ball in the air, and after it bounces off the ground, the country singer swings his guitar like a baseball bat, striking the ball with its body.

The guys erupt in cheers when the ball goes through the hoop.

"I remember that," he shares. "It took a few, but not as many as I thought it was going to take. I would guess — if I remember correctly — I think it was under 10 that it took to make that shot."

Who Is Dude Perfect?

Dude Perfect is a group of five college friends who love to take on challenging stunts. Tyler Toney, twins Cory and Coby Cotton, Garrett Hilbert and Cody Jones often compete against each other in these stunts, filming them and sharing the footage on the internet.

Since their inception in 2009, Dude Perfect's YouTube channel has grown to 60 million subscribers. Their video with McGraw has been viewed more than 7,400,000 times.

Tim McGraw's Love of Sports

McGraw is a big sports fan and has athlete's blood running through his veins. His father, Tug McGraw, played baseball for the Philadelphia Phillies and even won a World Series with the team in 1980.

The "Standing Room Only" hitmaker also played football in high school and is still pretty good with a ball in his hands. Last February — inspired by NFL quarterback Patrick Mahomes — McGraw shared a video of himself hitting a few trick shots of his own.

30 Photos of Tim McGraw Young

Tim McGraw dropped out of college and moved to Nashville in 1989, on the day that his hero, Keith Whitley, died. In 1993, McGraw released his own debut major label album, the self-titled Tim McGraw. Since then, he has released 16 studio albums and charted more than 25 No. 1 songs, as well as garnered countless awards and accolades. Let's take a walk back in time with 30 photos of Tim McGraw young.

Gallery Credit: Evan Paul

See Inside Tim McGraw + Faith Hill's Historic Southern Manor Home

Tim McGraw and Faith Hill sold their historic Southern manor home outside of Nashville for $15 million.

Gallery Credit: Sterling Whitaker

PICTURES: See Inside Tim McGraw + Faith Hill's Spectacular Beverly Hills Mansion

Tim McGraw and Faith Hill sure know how to live the good life. In addition to their multiple lavish residences in the Nashville area, the superstar couple owned a spectacular mansion in a posh area of California that's like something out of a movie. Their 11,000-square-foot, 6-bedroom, 9-bathroom residence in the high-dollar area of Beverly Park South in Beverly Hills sold for $9.5 million in 2009.

Gallery Credit: Sterling Whitaker

See Inside Tim McGraw and Faith Hill's Beverly Hills Mansion

Faith Hill and Tim McGraw owned an 11,000-square-foot, 6-bedroom, 9-bathroom mansion in the high-dollar area of Beverly Park South in Beverly Hills, Calif. The Mediterranean estate boasts a "spacious and elegant" master suite that features his-and-hers bathrooms and attaches to a private gym, a gourmet kitchen with stainless steel appliances and a large formal dining room that steps down into the living room. The 2.5 acres of grounds include a luxurious pool area with a covered outdoor eating area and a grill, as well as manicured gardens. The couple sold the lavish residence for $9.5 million in 2009.

Gallery Credit: Sterling Whitaker

See Inside Tim McGraw + Faith Hill's Private Island Estate:

Tim McGraw and Faith Hill's private island estate in the Bahamas has gone on the market, and it could be yours — that is, if you've got $35 million to spend. The couple bought an island in the Bahamas called L’île d’Anges in 2003, according to Architectural Digest, but they did not move into their home there until 2012.

Gallery Credit: Sterling Whitaker

More From K99