It's pretty self explanatory. How do you award a specific badge using the mouse click tool on a certain brick?
COMMUNITY QUESTION
How do I award a Badge when I click on a brick???
1 answer
This assumes the script is within a part with a ClickDetector inside said part.
local BadgeService = game:GetService("BadgeService")
local BadgeId = 00
script.Parent.ClickDetector.MouseClick:Connect(function(plr)
BadgeService:AwardBadge(plr.UserId,BadgeId)
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
