I'm trying to make a a gui. There's a textbox on this gui that says 'ENTER TEXT HERE' and a textbutton called Submit. I am aware that when you are in game you can change the text in the textbox. This is my script that was inserted into the button SUBMIT
--By Groen Galaxy
local choosetext = game.StarterGui.ScreenGui.Frame.choosetext
local submit = script.Parent
submit.MouseButton1Down:connect(function()
game.Workspace.Part.SurfaceGui.TextLabel.Text = choosetext.Text
end)
So the aim is that when the submit button is clicked the text that the player entered shows up on a textlabel in game.. It only shows the text that was originally set there (ENTER TEXT HERE) and not the text that the player put there... Any help would be much appriciated.
