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

Why can I not access TextBox Text with script?

I made a script that will send the value of TextBoxes to my Discord webhook when a button is pressed. In the message that the Webhook sends it just sends "Answer: " and not "Answer: user input". Can anyone help me with this? Thanks. :)

Console: HTTP Error: 400 Testing Style: Playing in Studio Script Location: The script is inside PlayerGui. Script Type: Script

local data = {
		["embeds"] = {
			{
				["title"] = "__**test boi**__",
				["description"] = "Applicant: " .. script.Parent.Parent.Parent.Parent.Parent.Name,
				["color"]= 277433,
				["footer"] = {
					["text"] = "Developed by StolenHeadstone. <3"
				},
				["fields"] = {
					
					{
						["name"]= "Q1: ",
						["value"]= "Answer: " .. script.Parent.Parent.Parent.Parent.Parent.PlayerGui.App_Quiz.One.TextBox.Text
					},
					{
						["name"]= "Q2: ",
						["value"]= "Answer: " .. script.Parent.Parent.Parent.Parent.Parent.PlayerGui.App_Quiz.One.TextBox.Text
					},
				}
			}
		}
	}

1 answer

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