Hagrid knew he was loved. That is so important. He still loves you and is glad he is pain free. He will see you again and fill you in on his new adventures! I hope you feel better soon. It is so hard to lose them.