Comment faire un badge de bienvenue Roblox Lua

local badgeID = YourbadgeID
local badgeService = game:GetService("BadgeService")
 
game.Players.PlayerAdded:Connect(function(player)
 wait(1)
 if not badgeService:UserHasBadge(player.UserId, badgeID) then
  badgeService:AwardBadge(player.UserId, badgeID)
 end
end)
Purple Team