Hello, I'm trying to make a text fade into the screen after a number of seconds, then fade out. I was able to make a script to fade out, but I have no idea how to make it fade in first. I originally got the script from a video but I changed it up a bit, but now I'm stuck with this
script.Parent.Visible = false --I don't want it to pop up instantly so I set it to false
wait(5) --time it will be transparent until text pops up
script.Parent.Visible = true --this is where I'm stuck at, this instantly makes text pop up and I'm not sure how to make it fade in first
for loop = 1,10 do
wait(0.1) --how much transparency it fades out by, 0.1 being the smoothest
script.Parent.TextTransparency = loop/10
game:GetService("RunService").Stepped:Wait()
end
I'm not sure what to do next, I tried to search around with how to make it fade in but I couldn't find anything. The script is a LocalScript in a TextLabel. Any help is appreciated, thank you.
