Kevin Hart takes dig at the Rock with infamous costume

This Halloween costume is caught between a Rock and a Hart place.

Kevin Hart dressed up in Dwayne Johnson’s famous “fanny pack” outfit to trick-or-treat at The Rock’s house.

In a video shared by comedian Hart on social media, a group of kids dressed up as “Jumanji” characters go trick-or-treating at Johnson’s house, and The Rock is delighted by their costumes. He gives them king-sized candy bars and his stamp of approval.

When Hart shows up at his door, however, Johnson is less than pleased.

“Trick or treat,” Hart says, wearing blue jeans, a black turtleneck, belt and fanny pack with a chain hung around his neck, imitating a famous vintage photo of The Rock in the same outfit. The outfit is complete with sunglasses hung across his hip and a curly wig.

“Why are you dressed like that?” Johnson questions angrily.

“Because it’s my costume. All you gotta do is go to the costume store, and say ‘Make me look stupid,' " Hart replies.

Hart then imitates the pose Johnson makes in the famous photo, with one hand propped on the fanny pack and the other hung in the air, and the two begin bickering.

“The kids say you giving out the good stuff,” Hart says, wanting king-sized candy.

“I am giving out the good stuff, I’m not giving it to you,” Johnson says.

Johnson also shared the video to his Instagram, making jokes over the costume that mocked him.

“Of all the things my best friend @KevinHart4real can dress up as for Halloween. He comes back from injury to stick me with this dirty, rotten, HEARTLESS LOW BLOW. 💔😂 Love ya brother. Good to have you back. Our NEW JUMANJI: THE NEXT LEVEL trailer drops TOMORROW!! Stay. Tuned,” The Rock wrote.

Following a car crash Sept. 1, Hart was just approved by his doctor to go back to work in early October, for a Jumanji marketing campaign.