Cody Wray was checking his home security camera footage earlier this week when he was surprised to see his son Dylan out of bed.

Wray, who grew up in North Texas and now lives in Florida, uploaded the hilarious video to Facebook and wrote, "Looking through security footage when I found this event in the middle of the night in my living room. He's so dead."

Click the player above to watch the video

Dylan can be seen running around the living room, jumping on the family's new couch and punching it, even turning lights on and off. At one point he's captured doing cartwheels and flips around the room.

Wray's wife Becci wrote on Facebook that Dylan and his brother Austin aren't supposed to jump on the family's new couches.

Wray then posted a picture of Dylan's face, the last image captured right before the camera was unplugged.

Dylan Wray caught on surveillance video

"His response when we showed him the video was, 'I told you I get up at 2 a.m. sometimes,'" Wray said. He and Becci thought Dylan had been joking.

"When I found the video, I couldn't decide between grounding him for jumping on the couch or hugging him for being one of the funniest surprises I've ever had."