Okay, so I have a TextBox that the player has to enter text into. And then that text will appear on a TextLabel that the player cannot edit. I thought it was just gonna be something simple.. for example
1 | script.Parent.Text = (script.Parent.Parent.TextBox.Text) |
is there a way I can make this work?
So pretty much what @bittersweetfate did, except put it into a local script:
1 | while wait( 0.5 ) do |
2 | script.Parent.Text = script.Parent.Parent.TextBox.Text |
3 | end |
Just put that code into a local script, and you're done!
Just basically do what the above said and maybe have and event that fires everytime the text is changed
On a localscript
1 | textgui = script.Parent.Text |
2 | texbox = script.Parent.Parent.TextBox |
3 |
4 | textbox.GetPropertyChangedSignal( "Text" ):Connect( function () |
5 | -- code |
6 | end ) |