Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why doesn't TrelloAPI send info when game is publish?

Asked by 7 years ago

I made an application center which with my ownself and it works went I tested it, but when I publish it, it doesn't work for some reason,I tried with the normal script, and local script. Please help me.

HttpEnabled is already ticked true.

ap = require(game.ServerScriptService.TrelloAPI)
BoardID = ap:GetBoardID("Test Board")
ListID = ap:GetListID("Pending",BoardID)

script.Parent.MouseButton1Down:Connect(function()
local plr = game.Players.LocalPlayer
local CardID = ap:AddCard(plr.Name,"Account Age: "..plr.AccountAge.."\n".." UserId: "..plr.UserId.."\n".."[Q1] Why do you want to work here? : "..script.Parent.Parent.Frame.O.Text.."\n".."[Q2] Why should we hire you? : "..script.Parent.Parent.Frame.T.Text.."\n".."[Q3] Do you work anywhere else? : "..script.Parent.Parent.Frame.Th.Text,ListID)
script.Parent.Parent:TweenPosition(UDim2.new(0,0,-1.5,0), "In", "Linear", 0.25)
script.Parent.Parent.Parent.Sent.TextLabel.Text = "Sending your application, please wait!"
wait(10)
script.Parent.Parent.Parent.Sent.TextLabel.Text = "Sent to Server! You may quit the game!"
plr:Kick("Your application has to been sent to our application checkers! Please wait for at least 24 hours for it to get accepted or declined!")
end)

0
You should use a remotefunction for this, you cannot use HTTPService from the client as well as you cannot access ServerScriptService. shayner32 478 — 7y

Answer this question