Help please,

My ball python is really crackley feeling and certain scales are dull all over his body and where he lays pressed on the glass are all brown scales. They are coming off in a fine layer...I don't know what's wrong with him but he looks terrible, any help is greatly appreciated.
thankyou