Talk about cooking with gas.

A student at Brigham Young University was in a heated situation when he set fire to a dorm kitchen while making homemade rocket fuel.

The student tried to make their own fuel on the stove in the kitchen on Sunday. The building's fire sprinklers went off after the fuel exploded in a massive fireball.

The firefighters secured the scene and were able to put out the remnants of the fire.

You can see some of the damage for yourself.

A BYU student created a massive fireball that engulfed his dorm on Sunday after he tried to make DIY rocket fuel on his dorm's stovetop. 🔥

Credit: BYU Police pic.twitter.com/HqYQBnUwHE

— Tony Ho Tran (@TonyHoWasHere) February 22, 2022

DIY NASA

No one was hurt in the experiment. Flooding caused by this kitchen chemist incident displaced 22 residents in the dorm.

Please keep your experiments in the lab and supervised by trained professionals, the police said.

The student's motives remain unclear as authorities investigate the matter. Jeff Long, a police spokesman for the Mormon church, told CBS affiliate KUTV that they don't believe there was any intent behind the experiment.

He said that police were going to rule out the possibility of criminal charges.

Long said this was definitely reckless.

So yes. This is a lesson to all of you who are considering making rocket fuel at home. It should be left to the professionals or at the very least to the well-trained amateurs.

The students were displaced after homemade rocket fuel exploded.

The amateur rocket builders are planning to launch a person into space.

Are you interested in supporting clean energy adoption? At UnderstandSolar.com, you can find out how much money you could save if you switched to solar power. Futurism.com may receive a small commission if you sign up through this link.