Im chila, Im a builder and modeler, but I am learning how to script.
I am very new into Gui Scripts.
I was trying to enable the Visible of a TextLabel, wait 15 seconds, and then Disable it.
There are 4 TextLabels, I wanted to make “A” visible and “B”,“C” AND “D” invisible, wait 15 seconds, make visible “B” and invisible “A”,“C” and “D” , and follow the same steps with “C” and “D”.
I test the game, but my LocalScript isnt working.
How to fix this?
How can I improve my script?
Here´s my code:
local Text1 = game.StarterGui.Tips.Frame.Tip1
local Text2 = game.StarterGui.Tips.Frame.Tip2
local Text3 = game.StarterGui.Tips.Frame.Tip3
local Text4 = game.StarterGui.Tips.Frame.Tip4
while true do
wait(.1)
Text1.Visible = true
Text2.Visible = false
Text3.Visible = false
Text4.Visible = false
wait(15)
Text1.Visible = false
Text2.Visible = true
Text3.Visible = false
Text4.Visible = false
wait(15)
Text1.Visible = false
Text2.Visible = false
Text3.Visible = true
Text4.Visible = false
wait(15)
Text1.Visible = false
Text2.Visible = false
Text3.Visible = false
Text4.Visible = true
wait(15)
Text1.Visible = false
Text2.Visible = false
Text3.Visible = false
Text4.Visible = false
end
Here´s a screenshot of my Explorer: