Select Language Coding Issue

Hello there, So I’m making a change language system for all of the parts coded change into that language but I have an issue

Output:

Output: ChangeLanguage is not a valid member of TextButton “Players.3DRobloxGameDev.PlayerGui.Settings.ChangeLanguage.ChangeToCzech.EnterButton”

Code:

	script.Parent.ChangeLanguage.ChangeLanguageTo.Text = "Zmněnit jazyk"
end)
1 Like

Can you show a screenshot of the hierarchy?

Apologises I’m still learning scripting what’s a Hierarchy

Like where the script is, its parents/ancestors, and its children.

explorer

Use this:

script.Parent.Parent.ChangeLanguageTo.Text

also thank you how would I make it change multiple texts

What do you mean by that?

chars

1 Like

so how you have change 1 text how would i do multiple so it changes multiple into different ones

Just do the same thing but reference different TextButtons/TextLabels.

1 Like

and if there is others in other frames you do?

Just reference them in the other frames.

well there in another screen gui

You can do it in the same script or in another, it doesn’t matter.

ill put all the guis in the same screen gui