Samsung Dryer Not Heating

Dryer lights but then goes back out,with the duct on or off, what do I check next?

Could have a week coil on the gas valve.

— Begin quote from ApplianceJunk;679097

Could have a week coil on the gas valve.

— End quote

Changed out the coils and the dryer still has the same issue of not staying lit any other suggestions?