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

Is it easier to some how switch texts in guis or just make new ones?

The game im making has objectives, right, I wondered if roblox had the ability to "switch" texts. (something like ue4 has) that i can turn off certain text inside of the gui. Or just make a new gui and turn "enabled" off on the previous objective.

1 answer

Yes, it is very well possible to turn the enabled off with a new GUI on a function to make it say a different text. Or, you could edit the text using the property "text" in the GUI. For example:

local GUI = game.StarterGui.GUI
GUI.Text = "Hello." -- "GUI is your GUI."
wait(5)
GUI.Text = "Bye." -- Changing the GUI's text.

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