The dryer high limit switch/thermostat wasn’t working. Tested with ohmmeter. It should beep with nc connection and it wasn’t and replace the heating element. It was still good but had crack in metal so I replaced it also and now everything works just as it should.