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

Trello Ban System not working?

Asked by
Smaltin 46
8 years ago

For some reason, my script won't work. I have tried for a bit, and the games we use are not FilteringEnabled.

The code is as follows:

01--BANNED CHECK--
02 
03    print("ESAEdev: BANNED CHECK STARTED!")
04 
05    local Trello = require(game.ServerScriptService.TrelloAPI)
06    local list
07    local list2
08    local list3
09    local board
10    local banList
11    local bansReady = false
12    local banList2
13 
14    spawn(function()
15    board = Trello:GetBoardID(trelloboardid)
View all 43 lines...

If anyone sees any errors, comment about it. I'm open for comments.

0
You should be the one checking for errors, tell us any information that is in the output or developer console. Try telling us errors or placing prints and telling us where they may stop. We help fix scripts, however, we need information as to what line or area specifically is causing a problem. M39a9am3R 3210 — 8y
0
Alright, I will do so right now. Smaltin 46 — 8y
0
make it filtering enabled User#10445 15 — 8y
0
Freemodle Carforlife1 59 — 6y
0
You're really late. Also, this was not a free model, I watched the user create this. Only the Trello API is. Please, if you have nothing to contribute, don't hate on my stuff. Thanks. Smaltin 46 — 6y

1 answer

Log in to vote
0
Answered by 8 years ago

Try this,

01API = require(game.ServerScriptService.TrelloAPI)
02BoardID = "" -- Enter board ID in ""
03ListID = API:GetListID("",BoardID) -- Enter List ID in ""
04CardsInList = API:GetCardsInList(ListID)
05--
06 
07game.Players.PlayerAdded:connect(function(P)
08        for i,v in pairs(CardsInList) do
09            if P.UserID == v then
10                P:Kick("You are banned from all servers with ESAE.")
11            end
12        end
13    while true do
14    wait(30)
15        for i,v in pairs(CardsInList) do
View all 21 lines...
Ad

Answer this question