WATCH: Surveillance video captures boy's overnight fun

A Tampa man was looking through his home's security footage and was surprised to see his 6-year-old son awake in the middle of the night, and up to no good.

Cody Wray posted the video clip on Facebook last week, with the caption, "Looking through security footage when I found this event in the middle of the night in my living room. He's so dead."

The hilarious video shows Wray's son, Dylan, running around the house at 2 a.m. doing all of the things his parent's always tell him he's not allowed to do.

But all good things must come to an end. It seems little Dylan eventually realized he was being recorded. His dad posted this image on Facebook, saying "This is the last image the camera captured before it was unplugged."

Sorry, Dylan, it looks like you were caught!