Honestly, I've been trying to figure out the key that it was written. A little help would be appreciated. Please and Thank You
I think the main riff is centred on F sharp minor but that is very loose due to all the chromatic notes.

It could modulate throughout though.
most of it is in Bmaj and variations on that
Awesome Bands

Dream Theater
Led Zeppelin
Porcupine Tree
King Crimson
Pink Floyd