Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local BadgeService = game:GetService("BadgeService")
- local badgeID = 000000000 -- Replace it with your ID
- game.Players.PlayerAdded:Connect(function(player)
- local owned = BadgeService:UserHasBadgeAsync(player.UserId, badgeID)
- if not owned then
- wait(2)
- BadgeService:AwardBadge(player.UserId, badgeID)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement