Futilely has 2 different meanings across 1 category:
Adverb
in a futile and unproductive manner
In a futile manner.