local DF = game.Players:findFirstChild("leaderstats"):findFirstChild("stat")
local BS = game:GetService("BadgeService")
local list = script.Parent:WaitForChild("SG").Badges
if BS:UserHasBadge(script.Parent.Parent.userId, 202862931) then
list.B1.Check.Visible = true
DF.Value = DF.Value + 1
end
the DF variable doesn't work and i don't know how to fix it.
the output says "Players.Player.PlayerGui.BadgesCheck:1: attempt to index a nil value"

1 comment
Thanks :D