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?
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?
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.
Thanks!
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
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.