How bad was it flooded??
My first e65 6 yrs ago I bought for 4k
Well I restored it fully- and it still runs fine. Lots of modules got back to life after cleaning. After that I can say I learned every piece of that car. My car was only half flooded I guess, bc dme module was clean inside.
So I don't think you can get 5$ for it.