Win Badge Giver System

— Fixed thank you guys for checking this —

should i use leaderwin because the name of stats is leaderwin?

Leaderwin is the Value that contains all the wins you have obtained correct?

Try this in your code that checks if the Value has changed

if leaderwin.Value >= 1000
    BadgeService:AwardBadge(player, 2124700101)
end

It will require soem additions to your script, firstly you need to create a BadgeService variable at the top of your script

local BadgeService = game:GetService("BadgeService")

The code I’ve provided will probaly have to be a bit different depending on the name of your player variable and the name of your leaderwin variable. If you’re confused, you cna provide the code and I can try to help

2 Likes
local BadgeService = game:GetService("BadgeService")
leaderwin:GetPropertyChangedSignal:Connect(function()
if leaderwin.Value >= 1000 then
BadgeService:AwardBadge(plr, badgeID)
end)
1 Like