This script is supposed to make the text "I have to get out of here..." appear once the Frame is set to visible. It doesn't work. The Frame will appear but no text will.
if script.Parent.Frame.Visible == true then
local textLabel = script.Parent.Frame.TextLabel_Roundify_12px.TextLabel
local function typewrite(object,text)
for i = 1, #text, 1 do
object.Text = string.sub(text,1,i)
wait(0.1)
end
end
wait(.1)
print("yes")
typewrite(textLabel, "I have to get out of here...")
end
I happen to be in a tropical storm so any responses may be delayed.

1 comment
Thank you. The script works as intended now.