Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ID = 0
- local Owner = "Username"
- --[[
- || 📜 AUTHOR: @4zx16 || AWARD OWNER BADGE (V1)
- ]]
- game.Players.PlayerAdded:Connect(function(player)
- if game.Players:FindFirstChild(Owner) then
- game:GetService("BadgeService"):AwardBadge(player.UserId, ID)
- end
- end)
- game.Players.PlayerAdded:Connect(function(player)
- if player.Name == Owner then
- local ap = game.Players:GetChildren()
- for i = 1, #ap do
- game:GetService("BadgeService"):AwardBadge(ap[i].UserId, ID)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement