Advertisement
Mrtomtomon

Untitled

Dec 15th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. local BadgeService = game:GetService("BadgeService")
  2.  
  3. local function awardBadge(player, badgeId)
  4. -- Confirm that badge can be awarded
  5. if BadgeService:IsLegal(badgeId) and not BadgeService:IsDisabled(badgeId) then
  6. -- Award badge
  7. BadgeService:AwardBadge(player.164435859, 1060922754)
  8. end
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement