Make Your Own Badge
Archived Page This article has outdated information. It is now archived, only kept for historical purposes. Generally, outdated articles write about how to use or interact with the Roblox website. The services and features as written at the time have been changed or removed by Roblox Corporation. External links may be substituted with a Wayback Machine or Roblox Forum Archive link. |
Badges are like achivement notes. It tells other players that you have done something worthy of notice. However, if you do not know how to script, that could be a problem. To make a badge for your place, you must have a Builders Club Membership. Badges cost 100 Robux, but if the image is deleted, you will NOT get a refund! Go to your place and look for 'Create a Badge'. Click it. You then will assign a picture to the badge. The picture size needs to be 150x150. You then name it, and give it a description. Here is the Template for badge pictures.
Simple badge scripts
So, you notice how games have all those cool badge awarders right? To a scripter, making badges might be easy. But to a non-scripter, it could not be so fun. Here is a script that will award a player a badge when they enter the game:
local BadgeID = 12312321 -->Put the badges ID there function onEntered(player) wait(1) local a = game:GetService("BadgeService") a:AwardBadge(player.userId,BadgeID) end game.Players.PlayerAdded:connect(onEntered)
Medium badge scripts
So, you think you know how badges work huh? Well, here is a badge script that is a bit more complicated:
local BadgeID = 12312321 --Put the badges ID Here local Texture = 122212 -- Put the T-shirt ID here function onEntered(player) wait(5) if game:GetService("BadgeService"):UserHasBadge(player,Texture) then game:GetService("BadgeService"):AwardBadge(player.userId,BadgeID) end end game.Players.PlayerAdded:connect(onEntered)
That is a handy script for a VIP only badge. If the person who entered is wearing a certain VIP shirt, then they get a badge.
Advanced badge scripts
Okay, for all those who think they understand badges, give this one a try:
local BadgeID = 12312321 --Change to the Badges ID function onEntered(player) if player.Name == "YOURNAMEHERE" then --Insert your name here local b = game.Players:GetChildren() for i = 1, #b do local a = game:GetService("BadgeService") end end end game.Players.PlayerAdded:connect(onEntered)
Badge Save
This is for those who wish to save stats by using badges:
local BadgeID = 1232112 -- Insert Badge Id Here function onEntered(player) if game:GetService("BadgeService"):UserHasBadge(player.userId,BadgeID) then player.leaderstats.Tix.Value = 1000 --Change to what you want player.leaderstats.Bux.Value = 1000 --Change to what you want end end