Just want it so when the game starts up this text fades a bit, then ends. It all fades out for good. Well it starts up and the text just disapears and there is a black background and nothing happens. No errors. So I am pretty sure I should be using a for loop her for the fading I just dont know how. If someone coukld help with this code and explain the whole "For i, v" or whatever it is that would be greatly appreciated. Here is the code:
local gui = script.Parent
while true do
wait(5)
repeat gui.Names.Transparency = gui.Names.Transparency + 1 wait(0.3) until gui.Names.Transparency == 1
gui.Names.Text = "Some game"
wait(4)
repeat gui.Names.Transparency = gui.Names.Transparency + 1 wait(0.3) until gui.Names.Transparency == 1
repeat gui.Black.Transparency = gui.Black.Transparency + 1 wait(0.3) until gui.Black.Transparency == 1
gui:Destroy()
end
This is in the actual Gui.

2 comments
I have a few questions. You have three loops doing the exact same thing. Why? Why not use a for loop with a simple lerping function and lerp the transparency of the text until it is invisible?
If you would like I can provide an example using a lerping function.