Looking at my code this should have worked. Am I missing something?
local badgeService = game:GetService("BadgeService")
local badge1 = 2125428738 -- aka ALPHA PLAYER Badge
-- badge1
game.Players.PlayerAdded:Connect(function(plr)
-- check player badge status
local hasBadge = badgeService:UserHasBadgeAsync(plr.UserId, badge1)
if hasBadge then
print(plr.Name .. "Owns This Badge Already.")
else
-- Award Badge if Player doesnt have it.
badgeService:AwardBadge(plr.Userid, badge1)
end
end)
Just released my game update, and this bug poped up. Would appreciate any responses.