local startg = game:GetService("StarterGui")
local frame = startg.m.Main
local username = frame.username.Text
function cardAdded(card)
print(username)
end
frame.Ban.MouseButton1Click:Connect(function()
local api=require(script.Parent.TrelloAPI)
local boardid=api:GetBoardID("Moderation")
local listid=api:GetListID("Banned Players",boardid)
api.CardAdded(listid):connect(cardAdded)
end)
It's supposed to grab the username text that the mod/admin has inputed inside of the textbox and then make a card on the trello? Why isn't this working?
