local GPS = game:GetService("GamePassService")
local b = game:GetService("BadgeService")
if b:UserHasBadge(player.userId, 9194387) then
if GPS:UserHasBadge(player, 9194387) then
b:AwardBadge(player.userId, 2124538197)
end
end
9194387 is the game pass id
2124538197 is the badge id

3 comments
try doing if b: UserHasBadge(player, 9194387) then game:GetService("BadgeService"):AwardBadge(player.UserID, "2124538197")
Line5: 'if GPS:UserHasBadge(player, 9194387) then'. ->PlayerHasPass'
Do you think you can put that inside an answer for my script?