I am trying to make an Intro GUI. Everything is working except for my TextButton. When I test the intro gui the sound, frame, textlabel, and imagelabel work. I am trying to make it where after a certain amount of seconds the TextButton will become visible. I was also trying to make where if the button is clicked all the frames and screen guis would faded or disappear. In addition, would also like to add a MouseHoverEnter which I have no clue how to do.
Here is a link to an image of what my ScreenGUI contains.
https://gyazo.com/7d45c90ebfa03d884949ee859c251e18
TextButton Script:
local textlabel = script.Parent.Parent:WaitForChild('TextLabel')
local textlabel1 = script.Parent.Parent:WaitForChild('TextLabel1')
local frame = script.Parent.Parent
local frame1 = script.Parent.Parent:WaitForChild('Frame1')
local image = script.Parent.Parent:WaitForChild('ImageLabel')
local textbutton = script.Parent:WaitForChild('TextButton')
wait(6.5)
script.Parent.Visible = true
script.Parent.MouseButton1Click:connect(function()
for i = 0,0.5,1 do
script.Parent.Parent.BackgroundTransparency = i
textlabel.Visible = false
textlabel1.Visible = false
image.Visible = false
textbutton.Visible = false
frame1.Visible = false
wait(0.05)
end
script.Parent.Parent.Sound:Stop()
end)
Other Script inside of the Frame:
wait(2)
local textlabel = script.Parent:WaitForChild('TextLabel')
local textlabel1 = script.Parent:WaitForChild('TextLabel1')
local frame = script.Parent
local frame1 = script.Parent:WaitForChild('Frame1')
local image = script.Parent:WaitForChild('ImageLabel')
local textbutton = script.Parent:WaitForChild('TextButton')
script.Parent.Sound:Play()
wait(1)
frame1:TweenPosition(UDim2.new(0,2000,0,250),'In',4)
wait(4)
frame1:TweenPosition(UDim2.new(0,0,0,250),'In',4)
wait(1.5)
image.Visible = true
Please help me, thank you!

2 comments
Hey Poe! Thanks for help. But unfortunely the first Frame doesn't disappear when I click the textbutton.
Nevermind I have fixed it.