A GoFundMe has been set up to help the actor who played Ted on Scrubs beat cancer

Sam Lloyd has been diagnosed with cancer, weeks after having his first baby.

You don't need us to tell you how good Scrubs was as a show. It was a classic, and anyone who watched it can attest to this.

And you certainly don't need us to tell you about how incredible the character Ted was in the series.

He was the depressed hospital lawyer, who despised his boss Doctor Kelso, but just couldn't seem to walk away from his job as Kelso's personal slave.

But at the same time, some of the most touching scenes in the show came when Kelso would actually show a level of humanity towards Ted.

He also provided the soundtrack for some of Scrubs' finest moments, alongside his a capella band the Worthless Peons.

The actor who played Ted, Sam Lloyd, has recently been diagnosed with cancer.

Weeks after the birth of his first son, and months after a musical that he had been working on for over a decade had been accepted into a prestigious theatre accelerator program, he got the bad news.

A GoFundMe has been set up to try and raise money for him and his family, as his working life has been put on hold following the bad news.

An excerpt from the GoFundMe page reads: "As Sam and Vanessa face the challenges ahead, they will both have to put working on hold. There will be a range of medical, childcare, and other expenses. We are asking for your help so our dear Sammy can use the time ahead to GET HEALTHY, spend time with his wife, his new son, and his wonderful friends – and to borrow the title of the new song Sam wrote for his show... “Make Music Along The Way.”

"Every prayer, every positive thought, every dollar, and every gesture of support is greatly appreciated."

If you wish to donate to Sam Lloyd's cause, you can do so here.

Bill Lawrence, the man who created the legendary TV show that is Scrubs, shared a link to the GoFundMe on Twitter:

This is Sam. He was Ted on SCRUBS. He’s a pal. Just had his first baby. Get involved if you can. I am. https://t.co/PwZQCuSC7G — Bill Lawrence (@VDOOZER) February 5, 2019