|
| 07 Sep 2015 06:31 PM |
I dont know if this is the correct place to put this... so sorry if its wrong...
I am making a GUI that needs to take a user's name and post it to trello.. I have everything else working...
I have it working from studio but in-game it fails... I am using the Trello API from one of the people (they are all the same anyways)
This is on a TextButton with a everything correct... It just wont run in game. It submits nothing to trello.
Code (spaced out correctly in studio): ap = require(game.StarterGui.ScreenGui.TrelloAPI) local Board = ap:GetBoardID("FeedBack") --EDIT NAME OF BOARD (Don't use ID just the name) local List = ap:GetListID("FeedBack",Board) --EDIT NAME OF LIST (Don't use ID just the name) local count = false local play = game.Players.LocalPlayer script.Parent.MouseButton1Down:connect(function() if count == false then ap:AddCard(play:GetFullName(),"1) "..script.Parent.Parent.Q1.Text.." 2) "..script.Parent.Parent.Question2.Text,List,"","top") --count = true -- To stop resubmits end end)
--end of code
Thanks if you help. |
|
|
| Report Abuse |
|
|
| 07 Sep 2015 06:37 PM |
| If it's a text button, then you need to do function OnClicked() then all of that. |
|
|
| Report Abuse |
|