Police have a confession of a man who killed his childhood friend so that he can take over her inheritance.

A New Jersey murder trial was shown a chilling video showing the defendant confessing to killing his childhood friend in an effort to get his hands on her money.

Liam McAtasney is seen in the video describing in callous detail how he killed 19-year-old Sarah Stern as he sun along to the car radio with Anthony Curry in his friend's car on Bradley Beach on January 31, 2017.

The conversation was filmed just days before McAtasney and an accomplice, Preston Taylor, were arrested and charged with Stern's.

Police had hidden the camera inside the car, NJ.com reports.

'I pretty much hung her,' McAtasney said to his friend in the footage. 'I picked her up and had her dangling off the ground. It took me a half hour to kill her. I set a timer.'

The man also admitted that Stern's dog presented the 'biggest problem for him.'

'Her dog laid there and watched as I killed her. Didn't do anything,' he added in the clip.

While McAtasney continued sharing the details, Curry could be heard singing along to Joan Jett's 'Bad Reputation' and Steve Miller Brand's 'Rock 'N Me.'

'To keep my mind off it. That's what I always do,' Curry admitted in the Superior courtroom on Thursday.

Curry came forward to authorities in January 2017 after his father contacted a retired officer from the Bradley Beach department.

He testified that McAtasney first told him of his plans to strangle Stern on Thanksgiving in 2016.

At the time, he hadn't thought much of the conversation but grew worried when he learned that the woman had been reported missing on December 3, 2016.

Curry had attended high school with both Stern and McAtasney.

'He told me he was going to meet up with Sarah, she had found this money,' Curry said in court. 'They were going to count it together. He was going to choke her, choke her out. Bring her to the bridge, throw her off and Preston was going to drive the escape vehicle. And they were going to bury the money, and leave the keys in the ignition and make it look like she killed herself.'

The witness said that McAtasney expressed disappointment when he learned that he hadn't gotten the full $100,000 he thought he was getting.

McAtasney said in the video: 'The worst part of it is I thought I was going to come out $50,000 to a $100,000 in my pocket. She had one safe that she took money out, and she only had $10,000. And this money, I don't know if it was burnt or something, it's f*****g old money. Terrible quality. I don't even know if I can put any of it in the f*****g bank.'

He would later add: 'I didn't get a lot of money but I got enough to live comfortably in my house and throw parties all the time.'

Employees from the Kearny Bank testified that Stern's money looked to have ebeen printed in the 1980s and was no longer in circulation.

Both Stern and McAtasney had been in the victim's second home in Avon-by-the-Sea when she found a shoebox full of cash that had belonged to her deceased mother.

After Stern's disappearance, Curry said that he and McAtasney corresponded on Snapchat because of its ability to get rid of messages. Curry videotaped the contents from those messages.

The messages led Monmouth County Prosecutors to obtain a warrant for consensual recording. Curry then worked to lure the suspect to his car by saying that he needed money for a new camera.

Curry suggests that McAtasney has 'bread,' to which the suspect retorted: 'I need to tell you in person. I'm not trying to be a d---. I have $5,000 and I'm unemployed. … My cash is low quality, they won't take it. That's all I can say.'

But according to McAtasney's lawyer, Carlos Diaz-Cobo, the man was just trying to impress his friend by coming up with the story.

'The statement to Anthony Curry is not a confession,' Diaz-Cobo said. 'It's an elaborate lie, it's an audition. It's a script. It's not true. ... A young, immature boy decided he was going to use this unfortunate disappearance and make up this story.'

Curry admitted, during cross examination, that his friend had a tendency to share fabricated stories with him and that the two often talked about movies together.

Video footage also includes McAtasney telling Curry that he needed Taylor's help to dump Stern's body off the Route 35 bridge because he didn't realize how heavy she would be. Taylor admitted to his role in the killing and testified against McAtasney on the first day of the trial.

McAtasney can also be heard telling Curry that Taylor would kill him if he snitched. He claimed that Curry was the only person to know about Stern's death besides Taylor.

'I don't feel any different, I really don't think about it,' McAtasney stated. 'You always think you're going to try all these new things and change, but it just doesn't do anything. It's weird.

'It's a f****** movie, man,' Curry retorted.

His friend then said: 'It's your life. You might as well make it one. What are you going to live some boring ass life?'