Long story short, I can't figure out how to get rid of the GUI when the typewriting is done being presented to the player.
My attempt to disable it is ,"local Parent.Enabled = false" but the . has the syntax error line under it.
local TextLabel = script.Parent:WaitForChild("Main"):WaitForChild("Text")
wait(1)
local function typewrite(object,text,length)
for i = 1, #text, 1 do
object.Text = string.sub(text,1,i)
wait(0.02)
end
end
typewrite(TextLabel,"Welcome to Car Factory Tycoon!",0.02)
wait(2)
typewrite(TextLabel,"Claim a Tycoon to begin!",0.05)
wait(2)
local Parent.Enabled = false
