Alright so I own an anti-exploit group and I recently had to make a new module due to our last one broke and now I am finding out that my Trello Ban system will not work here is the script.
wait(0.1) BoardID = "KaIGYrRf" ap = require(game.Workspace.TrelloAPI) BanList = ap:GetListID("Bans",BoardID) Cards = ap:GetCardsInList(BanList) Bans = {} for i,v in pairs (Cards) do print(ap:GetCardInfo(v,BoardID)) end
I'm thinking I left out something like to check for the username under the card and then kick them when they enter the game and display a message. If someone could please help me learn from this that would be great! (I'm kind of new to Trello API I learned most of this from my old developer who quit a while ago)
You left out the part where when a player connects to the game, it checks the username via the table you have on line 8. If that username matches a banned user in the table, you could use :Kick() to remove them.