I noticed this in a few threads/posts and wanted to address it to new guitar players who might be in a similar boat where you're a few months into playing and feel like you're not progressing with a certain riff or in general with the instrument. If this sounds like you, my perspective (15+ years playing) of learning the instrument is this:
Playing guitar is a journey that (if you stick with it) you will continually learn new things. I still learn new things outside of riffs to this day and will continue to until the day I pass away. It's not something that you can get in a year and be good at unless you're exceptionally gifted but the odds are very low for that being the case.
Just remember to practice when you can, everyday ideally, and slowly build up your arsenal of songs/riffs/techniques and before you know it, you'll look back and realize all the things you've learned and how it helps you learn new things today.
I hope this helps anyone that is discourage because of feeling like their lacking progression!
edit: feel free to DM me if you have any guitar questions of your own you like to ask me :)