A pilot light out on the stove and a leak detected at a boiler was responsible for a morning gas scare at Buena Regional High School, a South Jersey Gas spokesman said.