I am creating a custom dialogue system. I am simply attempting to create a script to change the text of a TextLabel. I have a UIListLayout which will list the copies of the TextLabel. I looked on the ROBLOX Wiki to find what function to change the Text variable inside of TextLabel. I attempted to perfectly recreate what they showed and have parented this LocalScript to the TextLabel.
Instance.new('TextLabel', script.Parent).Text = "I'm a new TextLabel!"
Any help will be greatly appreciated because the Text variable does not change. |