The script down below is a what I've been working with but also with other scripts too.

ap = require(game.Workspace.TrelloAPI)
BoardID = ap:GetBoardID("DCCC Voting Board")
ListID = ap:GetListID("Voting On", BoardID)
CardName = game.Workspace.TextBoard.SurfaceGui.MainText.Text
CardID = ap:GetCardID(CardName, BoardID)
---------

script.Parent.MouseButton1Down:connect(function()
	CardID = ap:AddCard(CardName, "Voting is in the Comments", ListID)
	local hint = Instance.new("Hint", workspace)
		hint.Text = "Trello Card Created for Bill: " .. CardName
		wait(3)
		hint:Destroy()
end)

I'm trying to change the CardName to whatever I changed onto the board. Can someone help me.