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

How would I make it so a script changed the text of a GUI?[Solved]

script.Parent.Text = Test1
wait(3)
script.Parent.Text = Test2
wait(4)

The script I am currently using Nothing's happening when I run the server. The scripts parent is a textbutton. What am I doing wrong?

1 comment

0

Quotation marks around a string value. You would put script.Parent.Text = "Test1", someone with more experience might elaborate why down there v but we'll see.

1 answer

✓ Accepted answer

Er, you need quotation marks. This is the correct script:

script.Parent.Text = "Test1"
wait(3)
script.Parent.Text = "Test2"

The wait at the end is also not needed. I'm Aurum, and you're welcome.

1 comment

0

Thanks!

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