It's pretty self explanatory. How do you award a specific badge using the mouse click tool on a certain brick?
This assumes the script is within a part with a ClickDetector inside said part.
1 | local BadgeService = game:GetService( "BadgeService" ) |
2 | local BadgeId = 00 |
3 |
4 | script.Parent.ClickDetector.MouseClick:Connect( function (plr) |
5 | BadgeService:AwardBadge(plr.UserId,BadgeId) |
6 | end ) |