Roblox Trello | Check if label is on card

Hello everyone!

Ive been working on a trello system where I show every card in my game. But now I want to check if the label “Disabled” of the card is activated. If so, I can print a message to let the player know that it’s the item is “Disabled”.


Image:

This is my current script:

for _, Item in pairs(Cards) do
		local Frame = Template:Clone()
		Frame.id_label.Text = Item.desc
		Frame.Parent = ScrollingFrame
		Frame.Visible = true
		local Asset = game:GetService("MarketplaceService"):GetProductInfo(Item.desc)
		
		print(Asset.Name ..", "..Item.desc)

		Frame.Name = Asset.Name:gsub("Images/","")
		Frame.name.Text = Asset.Name:gsub("Images/","")

		--warn(HttpService:JsonDecode(trelloAPI:GetLabels(BoardID)))
        -- Here I want to put an if statement if the label is enabled or not. if so, it will print a message
	end


Is anyone that can help me out? :slight_smile:

1 Like