To make things clear, the badge has been created by me under a group, I have not received any badge awarded message or even my custom message ui. The game just thinks I have it even though it doesn’t appear I do, on the game page or my profile.
local _hasbadge, _error = pcall(BadgeService.UserHasBadgeAsync, BadgeService, Player.UserId, BadgeId)
if _hasbadge then
print("player alraedy has badge")
ReplicatedStorage.rreemotes.clientOnly.doEffect:FireClient(Player, "Warn","You already have this achievement! ".._badgeinfo.Name, 10, false)
return false
end
Check your inventory for the badge. If it appears in your inventory, you can delete it from there and then test again. Your script doesn’t seem to have any issues.