I am trying to make it so when you press a button it enables the GUI and it sets off this script which that script works fine. I have been working on this for an hour and the wikis are no help
My script(Local Script)
wait()
if game.StarterGui.ScreenGui.Enabled == true then
wait(.2)
script.Parent.Text = ("I")
wait(.2)
script.Parent.Text = ("I S")
wait(.2)
script.Parent.Text = ("I Sm")
wait(.2)
script.Parent.Text = ("I Sme")
wait(.2)
script.Parent.Text = ("I Smel")
wait(.2)
script.Parent.Text = ("I Smell")
wait(.2)
script.Parent.Text = ("I Smell L")
wait(.2)
script.Parent.Text = ("I Smell Li")
wait(.2)
script.Parent.Text = ("I Smell Lik")
wait(.2)
script.Parent.Text = ("I Smell Like")
wait(.2)
script.Parent.Text = ("I Smell Like C")
wait(.2)
script.Parent.Text = ("I Smell Like Ch")
wait(.2)
script.Parent.Text = ("I Smell Like Che")
wait(.2)
script.Parent.Text = ("I Smell Like Chee")
wait(.2)
script.Parent.Text = ("I Smell Like Chees")
wait(.2)
script.Parent.Text = ("I Smell Like Cheese")
wait(.2)
script.Parent.Text = ("I Smell Like Cheese.")
if game.StarterGui.ScreenGui.Enabled == false then
repeat until game.StarterGui.ScreenGui.Enabled == true
end
end
wait()
Thank you in advance!

1 comment
It said game script timeout when I tried it