Script not giving all players badges

the title says it all

local PlayerID = game.Players:GetPlayers()
				game:GetService('BadgeService'):AwardBadge(PlayerID.userId, 2124734923)

That just gets the Players in game as a table, you need to go through every individual player via looping through the players and award each if they dont have it

local BadgeService = game:GetService("BadgeService")

local Players = game:GetService("Players"):GetPlayers()

for _,player in pairs(Players) do
	if BadgeService:UserHasBadgeAsync(player.UserId, 2124734923) then
	BadgeService:AwardBadge(player.UserId, 2124734923)
1 Like