Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Trello api help?

breaking with no errors, it's server script

ap=require(game.Workspace.CTRadio.APIs.TrelloAPI)  

local Board = ap:GetBoardID("RadioGui")
local List = ap:GetListID("Comments",Board)
local count = false

script.Parent.MouseButton1Down:connect(function()
	if script.Parent.Parent.TimeLeft.Value == 0 then
		ap:AddCard(script.Parent.Parent.TextFrame.TextBox.Text,"Sent by: "..game.Players.LocalPlayer.Name,List,"","top")
		script.Parent.Parent.TextFrame.TextBox.Text = "Type here..."
		count = true
		script.Parent.Parent.TimeLeft.Value = 240
		for i = 240, 0, -1 do
			script.Parent.Parent.TimeLeft.Value = i
			script.Parent.Parent.TextTimer.Text = "You can post a comment in: "..i
			wait(1)
		end
		script.Parent.Parent.TextTimer.Text = "You can post a comment every 4 mins"
	end
end)

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.