I have this portion of my LocalScript:
local BadgeId = 1589503855
local BadgeService = game:GetService("BadgeService")
local function AwardBadge(userId,badgeId)
if not BadgeService:UserHasBadge(userId,badgeId) then
BadgeService:AwardBadge(userId,badgeId)
end
end
--More and more and more lines of script after..
AwardBadge(player.userId,BadgeId)
I tested in an alt acc to see if it worked and I got the warning: Sorry,badges can only be queried by the Roblox game Servers
And other warning after: Sorry,badges can only be awarded by the Roblox game Servers
If this is a stupid question I'm sorry it's my first time making a badge ;-;

1 comment
I figured it out after 5 minutes. Too dumb But still give you some rep.