Actor Sam Lloyd
CNN  — 

Actor Sam Lloyd, who appeared on several television shows and portrayed lawyer Ted Buckland on the comedy, “Scrubs,” has died. He was 56.

Lloyd’s agent confirmed his death Friday night but did not provide details on the cause. Variety reported that he was diagnosed with a brain tumor and cancer last year, and it spread to his lungs and spine. He found out he had cancer weeks after his wife, Vanessa, gave birth to their firstborn, the report said

Over a span of two decades, Lloyd’s television career included roles in major television shows such as “Desperate Housewives,” “Seinfeld,” “Modern Family,” “The West Wing,” “Cougar Town” and “Malcolm in the Middle,” according to his agent. He also appeared in the films “Flubber” and “Galaxy Quest.”

Some of the people he’d worked with paid tribute to him Friday night.

“Rest In peace to one of the funniest actors I’ve ever had the joy of working with,” actor Zach Braff tweeted. “Sam Lloyd made me crack up and break character every single time we did a scene together. He could not have been a kinder man. I will forever cherish the time I had with you, Sammy.”

“Scrubs” creator Bill Lawrence described him as a “kind, sweet guy” who will be missed by many.

Lloyd was also a musician. He sang in an a cappella group The Blanks, and played bass guitar in a band called The Butties.