Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

How can I link text in two GUI's? [closed]

Asked by 10 years ago

I have a GUI about the character playing and It says the Name, Health and I want it to say the Side so either Good or Bad. How would I link an Intro GUI that makes the User choose which side he/she wants to be on and then show the chosen answer on the Character GUI?

Closed as Not Constructive by Articulating

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 10 years ago

If you used GUI buttons:

You could use a variable that you can access from where you will show the side on another GUI; such as a global variable, or using the same script for both GUIs.

You could use a BoolValue with true and false being the side they are on, or you could use a StringValue with the name of the side that they are on.

There is more ways that you could do this if you took how these would work and compared them to properties and objects accessible by both the Intro GUI and Character GUI.

Ad