Creating a badge script in Roblox is genuinely difficult, especially if you are new to scripting. The most practical advice is to reach out to a very experienced scripter and ask them to make one for you. That will save you a lot of frustration compared to tackling it on your own without much experience.