Goal The goal is to change the text of a gui accordingly to the script. Problem The text ends of saying weird stuff, not as intended as the script. Code
script.Changed:connect(function(Hi)
if script.Parent.Name == "TalkFrame" then
script.Parent.Name1.Visible = true
script.Parent.Name2.Visible = true
script.Parent.Text1.Visible = true
script.Parent.Text2.Visible = true
wait(0.1)
script.Parent.Name2.Text = "Kyle"
script.Parent.Text2.Visible = "W-Where am I?"
wait(1.5)
script.Parent.Name1.Text = "Kyle"
script.Parent.Text1.Visible = "W-Where am I?"
script.Parent.Name2.Text = "Alena"
script.Parent.Text2.Visible = "Home, You fainted."
wait(2)
script.Parent.Name1.Text = "Alena"
script.Parent.Text1.Visible = "Home, You fainted."
script.Parent.Name1.Text = "Kyle"
script.Parent.Text1.Visible = "Oh..."
wait(3)
script.Parent.Name1.Visible = false
script.Parent.Name2.Visible = false
script.Parent.Text1.Visible = false
script.Parent.Text2.Visible = false
script.Parent.Name1.Text = ""
script.Parent.Name2.Text = ""
script.Parent.Text1.Text = ""
script.Parent.Text2.Text = ""
script:Destroy()
else print("Bummer")
end
end)
Thanks :D

3 comments
What are the weird things that the text ends up saying?
I think that "script.Parent.Text1.Visible = "Oh..." Is not right... Since Visible can't be equal to words...
Solved it :P