Dear (friend's name),
Thank you so much for helping me. You are always there when I need help. I can always count on you. You are so kind, loyal, strong-willed, and encouraging. I really needed help on this (sork/project), and you helped me when I was confused. Thank you su much.
(Your name)