Hi,

I'm using trello to store values so I can use them on another ROBLOX game. I've been using a script called TrelloAPI to use the trello API. It's worked flawlessly and I 100% doubt that that script is at fault here. Anyway, there's a TextBox GUI in the game, and when the text is changed (or preferably after a button is pressed), I'd like 'EndPlaceID' to be the updated text of that textbox. Here's what i've tried:

textbox = game.StarterGui.ScreenGui.Frame.TextBox
textbox.Changed:connect(function()
	local EndPlaceID=textbox.Text
	local ap = require(game.Workspace.TrelloAPI) 
local BoardID = ap:GetBoardID("My Board")
local PlaceID = game.PlaceId

ap:AddList(""..EndPlaceID,BoardID)
local ListID = ap:GetListID(""..EndPlaceID,BoardID)
ap:AddCard("PlaceID",""..PlaceID,ListID) 

end)


Oh and nothing shows up in the output, but when I type something in the textbook, trello doesn't update.

And yes, it did update before I started using the changed bit and when I just made EndPlaceID a string.

Thanks in advance.

4 comments

0

You are calling Changed on StarterGui. You have to call it on the textbox that is in the player's PlayerGui.

0

Surely it does the same thing though?

0

Techinically it does the same thing, just no one can see it. The players only see the GUI in their PlayerGui, StarterGui is the GUI's that will be added to their PlayerGui(Their Client)

0

So does entered text not register? I don't really see how this solves my problem.