RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"create a script that gives players a badge when they enter the game."
-- server script local BadgeService = game:GetService("BadgeService") local badgeId = 00000000 -- Replace with your badge ID game.Players.PlayerAdded:Connect(function(player) if not BadgeService:UserHasBadgeAsync(player.UserId, badgeId) then BadgeService:AwardBadge(player.UserId, badgeId) end end)