hi ive been playing some in flames lately and ive seen that all their cool melody seem to come from similar patterns. what scales do they use cos the melody involves nearly same notes but different timing and places etc. also what scales would be useful for me to know as a melodic death metal guitarist? where can i learn them?
You can learn them by learning theory properly and thinking more about what you're playing when you play their stuff as opposed to just playing it.

Also, musician talk in future.
R.I.P. My Signature. Lost to us in the great Signature Massacre of 2014.

Quote by Master Foo
“A man who mistakes secrets for knowledge is like a man who, seeking light, hugs a candle so closely that he smothers it and burns his hand.”