Ryan Reynolds posted a tribute message for Alex Trebek on Twitter following a cameo from the Deadpool star on one of Trebek's final episodes of Jeopardy!. "It's an honour (and a little heartbreaking) to be with #AlexTrebek one last time on @Jeopardy," Reynolds tweeted, attaching a video clip of the moment he appeared on the show. The surprise cameo was a sly way to promote Reynolds' next movie Free Guy, which is set to release this year.

On Jeopardy!, Reynolds appeared to deliver a video clue for an answer in the Movies category. "I'm Ryan Reynolds," the actor says in the clip. "In my 2020 movie Free Guy, I plan a bank teller who realizes he's really an NPC, short for this kind of character in an open-world game." After a clip from the movie is played, one of the contestants correctly responds with the question, "What is a non-player character?"

RELATED: Dick Van Dyke Endorses LeVar Burton as Next Host of Jeopardy!

The cameos go both ways in this situation, as Alex Trebek will posthumously appear in Free Guy as well. Prior to his death last year, Trebek had filmed a cameo for a brief scene in the movie. Reynolds revealed that the late Jeopardy! host had agreed to appear in the movie despite his ongoing health issues.

"Alex Trebek was kind enough to film a cameo for our film 'Free Guy' last year despite his battle," Reynolds wrote. "He was gracious and funny. In addition to being curious, stalwart, generous, reassuring and of course, Canadian. We love you, Alex. And always will."

Free Guy was directed by Shawn Levy and written by Matt Lieberman and Zak Penn. Starring Reynolds in the lead role, the movie is set in an open-world video game inhabited by non-player characters filling out the background. When bank teller Guy (Reynolds) realizes that the's nothing more than an NPC, he seeks to make himself the hero by saving the game before the developers can shut it down. Along with Reynolds, the movie stars Jodie Comer, Joe Keery, Lil Rel Howery, Utkarsh Ambudkar, and Taika Waititi. It remains to be seen exactly how Trebek will play into the movie's bizarre story.

Alex Trebek died at the age of 80 in November after battling stage 4 pancreatic cancer for nearly two years. He first revealed his diagnosis to Jeopardy! fans in March 2019, and despite how things looked, he vowed to keep working as the host of the game show. He provided an update on his condition in March 2020, celebrating his first year of survival battling the deadly disease. Even as his condition worsened, Trebek refused to give up, fighting to the very end until he passed away just weeks after finishing his final batch of episodes.

Alex Trebek's final episodes of Jeopardy! have been airing this week. Famous contestant Ken Jennings will serve as a temporary replacement host for Trebek moving forward. A popular fan petition has called for LeVar Burton to come in to permanently serve as the new host of Jeopardy!, but while it has brought in over 100,000 signatures, it seems no final decision has yet been made. This news comes to us from Ryan Reynolds on Twitter.