Adverbs

(r)happily, merrily, mirthfully, gayly, blithely, jubilantlyin a joyous manner“they shouted happily”
(r)happilyin an unexpectedly lucky way“happily he was not injured”