So. When i testing with Trello API, my script says he get error by that API returning with error: 23:04:57.931 - Workspace.TrelloAPI:334: attempt to concatenate local 'cardid' (a nil value) . If need script, here
--DONT REMOVE DEEZ!!!!-- local Trello = require(game.Workspace.TrelloAPI) local BoardID = Trello:GetBoardID("My_game") local AdminListID = Trello:GetListID("Admins",BoardID) local BanListID = Trello:GetListID("Banlist",BoardID) local UserID = game.Players.LocalPlayer.UserId local step = Trello:GetCardID(UserID,BoardID) local Target = Trello:GetCardInfo(step,BoardID) --DONT REMOVE DEEZ!!!!-- function CheckAdmin() if Target == UserID then print(UserID) Trello:AddCard(UserID," ",BanListID) else print(UserID) print("Error when checking...") end end script.Parent.MouseButton1Click:connect(CheckAdmin)
That script is localscript
Well let's start with the obvious one.
Yes, it was necessary to have the unnecessarily big text. The reason that you can't use it in a LocalScript is that it needs to make HTTP requests, which needs HttpService, which for good security reasons is -not- available on LocalScripts.