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

How To Make A Gui So Every 30 Seconds It Changes To A Different Gui?

Asked by 5 years ago

I Am Still Figuring Out Lua And It Is Very Confusing. When I Test The Script It Will Not Change The Gui. I Searched The Web A Lot More Than I Usually Do And I Could Not Find Anything.

script.Parent
wait(10)
textlabel.text "Welcome To Survivor"
end

2 answers

Log in to vote
0
Answered by
l1u2i3 52
5 years ago

Here's a script I made for you. I hope it helps. Just make sure to put this script in the TextLablel. Always make sure to use caps when needed.

while true do ---This will make it so it would repeat.
wait(30)----- Wait for 30 seconds
script.Parent.TextLabel.Text = ("Welcome to Survivor") -----Prints in Text "Welcome to survivor"
end
0
Thx Dude ricelicker 52 — 5y
Ad
Log in to vote
0
Answered by 5 years ago
Edited 5 years ago

You should use some definition

Text = script.Parent.TextLabel.Text

wait (10)
Text = ("Welcome to Survivor")
print ("Gui changed") ---> for beginner, use it regularly

Answer this question