I am trying to award players in dialog when they click an option and when I get to the option in a server, nothing happens.
local dialog = script.Parent local badgeService = game:GetService("BadgeService") local badgeID = 583076410 dialog.Finalone.DialogChoiceSelected:connect(function(player, choice) if choice == dialog.Finalone then badgeService:AwardBadge(player.userId, badgeID) end end)
Can someone figure out what is wrong? Thanks