Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local BadgeService = game:GetService("BadgeService")
- function Givebadgeto(tarplyr,Id)
- local hasBadge = false
- hasBadge = BadgeService:UserHasBadgeAsync(tarplyr.UserId, Id)
- if hasBadge == false then
- BadgeService:AwardBadge(tarplyr.UserId, Id)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement