--[[
=========================================
||-------------------------------------||
||-YOU JOINED BADGE AWARDER SCRIPT-----||
||---------------------By GuyAwesomest-||
||-------------------------------------||
=========================================
Last Updated On 2020-07-07
LOGS:
2020-07-06
- Created Script
- Added Compatibility
2020-07-07
- Added reminder in code (line 28)
- Added more debug (line 33, 36, and 37)
- Improved debug
---------------------------------------------------------------------------------
]]
warn("["..[Link].."] has loaded") -- this lets you know the script is
loaded! :)
---------------------------------------------------------------------------------
local BadgeID = 2125950512 -- change the badge ID to yours
--------
-- \/ /!\ DO NOT mess with what's below! /!\ \/
---------------------------------------------------------------------------------
[Link]:Connect(function(plr)
local DefaultNum = 2125950512 -- <-- DO NOT change this to your ID or the
script will break!
if BadgeID == DefaultNum then
error("Forgot to add badge ID (line 26)")
elseif DefaultNum == BadgeID then
error("Do not change \"DefaultNum\" to your ID (Line 33)")
elseif BadgeID == nil then
error("Badge ID doesn't exist or is nil (line 26)")
end
print("Giving BadgeID: " .. BadgeID .. " to: " .. [Link])
local b = game:GetService("BadgeService")
b:AwardBadge([Link], BadgeID)
end)
---------------------------------------------------------------------------------