“That’s when I was scared s–tless because this wasn’t supposed to happen,” Kendel Felix quietly said on the video dated April 30, 2014, more than three months ­after Menachem “Max” Stark’s body was found in a Long Island Dumpster.

In the confession played in Brooklyn Supreme Court, Felix said the idea to rob Stark originated with his cousin Erskine Felix.

“[Erskine] said [Stark] owed him money,” Kendel said in the video. “He’s like, ‘. . . We’re going to get him and we’re going to get him to give us some money.’ ”

Kendel also claimed he had no part in grabbing Stark in January 2014 as he left his Williamsburg home.

Prosecutor Ken Taub, who had conducted the ­interview, said Friday that he believed Kendel was trying to “minimize” his role.