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)

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

local BadgeService = game:GetService("BadgeService")
if leaderwin.Value >= 1000 then
BadgeService:AwardBadge(plr, badgeID)
1 Like