The document describes a gas leakage detection automatic robot. The robot uses an MQ6 sensor to detect gas leaks along gas pipelines. If a leak is detected, the robot beeps at the location and returns to the regulator switch to turn off the gas system. The robot localizes gas leakage sources without human intervention for applications in industries, mining, gas distribution, and homes. The robot can detect leaks in places that are dangerous for people to access and helps avoid accidents and destruction from gas leaks.