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

Can someone help, regarding Trello / application centre?

hey so. ive made an application centre that posts responses to Trello.

layout: https://gyazo.com/7fc4e2b07d5905480dcb09c5980483c6

local script in Submit button:

local player = game.Players.LocalPlayer
     
script.Parent.MouseButton1Click:Connect(function()
    game:GetService("ReplicatedStorage"):WaitForChild("Apply"):FireServer(player)
    script.Parent.Text = "Please wait..."
    script.Disabled = true
end)

remove event: https://gyazo.com/bf4cb2ec9ec9d7ed7af28af3b5609b30

server script in server script service:

local TrelloAPI = require(game.ServerScriptService:WaitForChild("TrelloAPI"))
local BoardID = TrelloAPI:GetBoardID("SPG | Applications")
local ListID = TrelloAPI:GetListID("Incoming",BoardID)

local event = game:GetService("ReplicatedStorage"):WaitForChild("Apply")

event.OnServerEvent:connect(function(player)
    local Questions = player.PlayerGui.ApplicationCentre.Frame.Application.Scrolling
    local NewCard = TrelloAPI:AddCard(player.Name,"**" .. Questions.Q1.Question.Text .. "** \n> " .. Questions.Q1.Answer.Text,ListID)
    wait(0.5)
    player:Kick("Your application has been recorded! Good luck.")
end)

ok so when I press submit, it makes the trello card correctly. and it puts the question (Questions.Q1.Question.Text), but no answer (Questions.Q1.Answer.Text ). can anyone help me? please tag.

1 answer

Solved in Discord server. Needed to send the answers over the removeevent.

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