A teenager who ate mushrooms shot himself in the head so he would wake up from the nightmare he was living, he told police.

The teen in Daytona Beach, Fla., ate mushrooms and drank tea made from them on Tuesday, the Daily Mail reported.

Steven Tilbury, the 17-year-old who suffered a near-fatal blow to the head is lucky to be alive. He was able to survive the gunshot and was rushed to the hospital where doctors were able to remove the bullet from his head, Gawker reported.

Tilbury explained that he fell asleep soon after he and his friends had ingested the mushrooms and that when he woke up, he said it felt like it wasn't real. He explained he felt like he was awake in a terrible nightmare and could leave him home, the Daytona Beach News-Journal said.

Tilbury said he thought if he shot himself he would wake up from the bad dream, investigators were quoted as saying.

Since he truly thought that he was still in a dream, the teenager took a .22-caliber rifle from his parent's room, walked back into his bedroom, sat on his bed with the butt of the gun on the floor, remove the safety, and fired away, the Daytona Beach News-Journal reported.

The scariest part of all -- he didn't wake up. As if that isn't bad enough, the story got more horrifying when Tilbury started to clean up the bloody scene since he hadn't woken up yet, and even bandaged himself and left the house,

Outside his home, he encountered a man who he then asked to take him to the hospital, Gawker said.

But Tilbury made clear that he was not and is not suicidal. No, I just wanted to wake up from the bad nightmare, he explained to cops. I am happy, and I love my life.