Hopefully has 2 meanings.
Hoping or full of hope.
He waited hopefully for a message from his girlfriend.
She is waiting hopefully for her exam results.
I hope or it is to be hoped that.
Hopefully, the new player will be worth the money.
Hopefully the bad weather will end soon.
Hopefully we won’t be too late for the party.