Advertisement
InTesting

Give One Badge Script In VSB 1

Feb 4th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.30 KB | None | 0 0
  1. local BadgeService = game:GetService("BadgeService")
  2. function Givebadgeto(tarplyr,Id)
  3.     local hasBadge=false
  4.     hasBadge=BadgeService:UserHasBadgeAsync(tarplyr.UserId, Id)
  5.     if hasBadge==false then
  6.         BadgeService:AwardBadge(tarplyr.UserId,Id)
  7.     end
  8. end
  9. Givebadgeto(owner,1060922754)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement