RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"when the onwer join the game you will get a badge"
-- server script for giving a badge to the owner of the game local badgeId = 123456 -- replace with your badge ID local ownerId = game.CreatorId -- get the ID of the game owner game.Players.PlayerAdded:Connect(function(player) if player.UserId == ownerId then game:GetService("BadgeService"):AwardBadge(player.UserId, badgeId) end end)