The "How I Met Your Mother" cast had a legen - wait for it - dary visitor on set Thursday. Olympic gold medalist McKayla Maroney swung by the CBS sitcom to chat up the stars of the series.

"Guess who visited HIMYM just now?" Neil Patrick Harris tweeted on Thursday. "Olympic Gold Medalist @McKayla Maroney! Here I am pointing at her."

Although well known for her "not impressed" face, the gymnast was all smiles on the "How I Met Your Mother" set. The actress smiled while standing in Ted's apartment and holding up her silver medal. Harris stood beside her, holding up the gold medal as if his character Barney Stinson won it himself.

"It was so amazing to meet you @ActuallyNPH!!" Maroney tweeted back to the star, "You're the best!!"

Barney Stinson wasn't the only one on set who was excited to meet the gold medalist.

"It is a GOLDen day on the HIMYM set!!!" Alyson Hannigan, who plays Lily Aldrin, tweeted on Thursday.

Hannigan and Maroney posed side by side, with Maroney holding her silver medal while Hannigan displayed the gold medal.


Although McKalya Maroney was just reported to be visiting the set, the series definitely has room to squeeze the gymnast in for a guest spot. The 16-year-old is the perfect age to babysit Lily and Marshall's newborn son, Marvin 'Wait-For-It' Eriksen.

Maroney isn't the only one out of the fab five to be offered a chance to visit a television show set. Her teammate Gabby Douglas received a video of encouragement from the cast of the "Vampire Diaries." The gymnast tweeted executive producer of the show, Julie Plec, her thanks.

"Aww thank you soo much!!! Btw this is one of my FAVORITE SHOW[S]! #TheVampireDiaries #Guessappearance? Lol ;) <3"

Plec replied to Douglas, saying of the guest appearance request, "You let us know when you're free and we'll see what we can do!"

Douglas will end up visiting the set of "The Vampire Diaries" thanks to Entertainment Tonight, who offered the gold medalist a chance to be a guest correspondent, and will send her to the Atlanta set of the hit CW show.