Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Help with a Badge Gui?

Asked by 9 years ago
local player = game.Players.LocalPlayer

while wait() do
    -- Welcome Badge --
    if script.Parent.Frame.BadgesFrame.Visible == true then
        if game:GetService("BadgeService"):UserHasBadge(player.userId, 193507707) then 
            script.Parent.Frame.BadgesFrame.Badge1.Images.Badge1.Image = "http://www.roblox.com/asset/?id=193507669"
        end 
    end
end

It doesn't change the imagelabel image. I am trying to make a gui which displays what badges you have earned, right not, it just has an empty image, and then it loops continously until that player has the badge, but it dosen't work. Any ideas?

Plus when I press F9 in game it says Badges can only be quried by the ROBLOX Game Servers, what does that mean? I'm in a real server, not play solo or anything to do with studio, i just clicked play.

Answer this question