I encountered a problem while creating an intro gui. When I tried to make the text fade away, it didn't work.
Script:
script.Parent.BackgroundTransparency = 0
wait(3)
--this part works its just a black screen fading
function fade()
for i=1,100 do
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency + 0.01
wait(0.01)
end
end
--this part is broken
function textfade()
for i=1,100 do
script.Parent.Stuff.Name.TextTransparency = script.Parent.Stuff.Name.TextTransparency + 0.01
wait(0.01)
end
end
fade()
textfade()
