How can you get better at this when improvising? Does it just come with time or are the things i can do to make it better?
Learn music theory..
And scales and definetily know which notes you are actually hitting in your scales and what they sound like in that respective scale.