If I say have a gui and I want to change the text through a script this works:
script.Parent.Text = "Blah"
And this does:
Words = script.Parent
Words.Text = "Blah"
But this does not:
Words = script.Parent.Text
Word = "Blah"
How come?
If I say have a gui and I want to change the text through a script this works:
script.Parent.Text = "Blah"
And this does:
Words = script.Parent
Words.Text = "Blah"
But this does not:
Words = script.Parent.Text
Word = "Blah"
How come?
Your indexing is wrong. The variable 'Word' is not located in the script, so it doesn't know what to do.
Words = script.Parent.Text
Words = "Blah"
Oops that's a mistake of just typing it in the question bar It doesnt work like that though
Edited answer
^ I've edited it please take a look
Please, read my answer.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
You would be resetting the variable. You could try adding a .Value to Words but that might not work. You might just have to live with it. I know, it's the end of the world.