I have tried this script, using my board ID and it just does not seem to work at all. The goal here is to check if anyone is on the ban list, and if the user is on the list, it kicks/bans the player. If anyone could help me out with solving the issue, I would appreciate it.

local api = require(script.Parent.TrelloAPI) local boardid = '' -- put your boardid here(at the end of the trello board link. local list = api:GetListID("Bans",boardid) local bannedplayers = api:GetCardsInList(list)

game.Players.PlayerAdded:connect(function(x) for _,v in pairs(bannedplayers) do if x.Name == v.name then x:Kick("You're banned from this game") end end end)

2 comments

0

You didn't even seem to follow the tutorial you must have listened to.

0

I'm confused on why you would want to use a Trello when you could just make a list in the script or in a module and keep things simple and just check if player.Name == (loop through list).