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 ;-;
just as it says, it can only be awarded from a serverscript.