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

Why arent my imagelabels showing up with badge/gamepass?

Asked by 3 years ago
Edited 3 years ago
local BadgeService = game:GetService("BadgeService")
local BadgeId = 2124537523
game.Players.PlayerAdded:Connect(function(player)
    player:WaitForDataReady()
    if BadgeService:UserHasBadgeAsync(player.UserId, BadgeId) then
            player.PlayerGui.SpecialDice.CatDie.Visible = true
    else
        print(player.Name .. " does not have the meet cats1118 badge.")
    end
end)

Badge thing, it will work, but only sometimes. The error for both of these scripts are: "SpecialDice isnt a valid member of PlayerGui" Even though it is, plase answer with answer, not comment!

local MarketplaceService = game:GetService("MarketplaceService")
local passIde = 9270961
game.Players.PlayerAdded:Connect(function(player)
    player:WaitForDataReady()
    if MarketplaceService:UserOwnsGamePassAsync(player.UserId, passIde) then
            player.PlayerGui.SpecialDice.PersonalDie.Visible = true
    else
        print(player.Name .. " does not have the JakBundle pass.")
    end
end)

Thats the gamepass one

0
Rickroll warning at upper comment yuni_Boy1234 320 — 3y
0
lol what rick roll Jakob_Cashy 79 — 3y

Answer this question