Note: For your .ROBLOSECURITY cookie if you use third-party hosting platforms I strongly recommend using an alt with team create!
- Install the library
requests
(pip install requests or pip3 install requests, and make sure you have python installed!) - Open config.py. From here, in
cookie
input your .ROBLOSECURITY cookie (search a tutorial for your browser if you don't know how or use EditThisCookie), inuniverseid
input the universeId for the place you will add badges to (get from the creator page URL for the universe page), andbadgename
andbadgedescription
to whatever you want. Oh, and replaceicon.png
with your desired image file. You probably won't like my terrible artwork. - Run
main.py
. Make sure you can run this script 24/7.
- Put a BadgeAwarder (I strongly recommend using Manner's as that's what avoids ratelimits, https://www.roblox.com/library/11647317355/Badge-Awarder-Kit) and put it in ReplicatedStorage. You can merge Inkthirsty's Better Badge Awarder's decal script, just put
repeat task.wait(.1) until script.Parent.Parent.Parent == game.Workspace
into the script calledDecal
. - Copy the code from
game.lua
into a script inside ServerScriptService. - In lines 40 and 41, replace
pos
andpos2
with your desired BadgeAwarder spawn coordinates. (Playtest first). - You're done!
Note: If your badge awarders are disappearing make sure they aren't called "BadgeAwarder". Change their name.
If you don't get status code 200 everytime, refer to this.
401 - Your cookie is invalid. Make sure it has no spaces or line breaks and you are accessing the cookie from the IP the account was logged in from.
403 - You cannot manage the game you are trying to access.
400 - Usually occurs when you have an invalid badge name.
500 - Something's wrong with Roblox; this is not your fault.
429 - Too many requests. Make sure you aren't making lots of requests to Roblox. If you get this a lot change timediff
in config.py to a higher number.
404 - Really rare occasions when the code is probably obsolete. Open an issue if you get this; this is most likely my bad coding.