I'm using the often used TrelloAPI and trying to make a crew system where you can create a crew (using a group that YOU must own).
I already have a working button that will create your crew as long as you own it.
create = script.Parent frame = create.Parent id = frame.groupID plr = script.Parent.Parent.Parent.Parent.Parent.Parent local ap = require(game.Workspace.TrelloAPI) create.MouseButton1Click:connect(function() if plr:GetRankInGroup(tonumber(id.Text)) == 255 then local group = game:GetService("GroupService"):GetGroupInfoAsync(tonumber(id.Text)) local BoardID = ap:GetBoardID("Crews") local ListID = ap:GetListID("Crews",BoardID) local id = id.Text local CardID = ap:AddCard("[C] " .. group.Name, id, ListID) else print("Player is NOT the owner group " .. id.Text) end end)
What I'm trying to attempt to do is make a script that updates every 20 seconds, grabbing all cards in the Trello list "Crews" and getting the ID (which is in the description of the cards). If there's a player in the game (or a player joins) that's in that group, they'll get something.
I know how to do the part where it shows that they're in the group, but is anyone able to help me out with the Trello part of this?
Thank you in advance.