I have played for 2 years. Playing covers from tabs. I have made some riffs not much and not too good.

I got some scales written down, I'm confused with all modes etc. Could someone write down the most important scales here maybe (in tab form)?

I listen mostly metal ofc, like Maiden, Metallica, Slayer, Pantera, Megadeth, Death, In Flames, Black Sabbath, Testament etc.

What theory do I need to know? Any good book/website/tutorial/lessons?

When I sit down I just play random **** and NOT much happens!
I need something to go from you know, i feel like i'm gonna build a house without tools.

Sure, scales are good for solos and melodic stuff but what about rhythm stuff?
What do all rhythm players now? Like for example Eric Peterson (Testament), James Hetfield (Metallica) etc. need to know?
Chord Progressions? Rhythm Patterns? I don't know much about that stuff.

Inspiration? Well, I just listen to music. But I can't come up with something original on my own.

S.O.S. Help S.O.S.