Hi,
I am trying to make a badge that is awarded to players after a minute of playtime. I got the script of a YouTube video and added the wait()
, here it is:
game.Players.PlayerAdded:connect(function(plr)
if plr then
wait(60)
game:GetService('BadgeService'):AwardBadge(plr.UserId, 2124633610)
end
end)
I’ve checked the Badge ID and it is the correct one.
What have I done wrong?
Many thanks.