So down below is a fail script. With a touch of a button it suppose to put up the hint and record it on trello as a comment. The problem is, is that it does it only with the text that was default in it (meaning it only does it with the text the studio has it). I want it to do it every time I change the text of the board. How can I do this. (Also if your a little confused, I don't want the comment to say what the board text says. I want the comment to be on the card that the text is named after.). Contact me on discord #0276 if you have any questions.


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:PostComment(CardID, "This proceeding has failed!")
	local hint1 = Instance.new("Hint", workspace)
		hint1.Text = "The proceeding has failed"
		wait(3)
		hint1:Destroy()
end)

1 comment

0

Is http service on?