Hey Developers!
I am making a story game…
In the lobby, just before the player teleports, a black gui appears, saying Teleporting.
And the script I’m using is this:
wait(0.7)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.1)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.5)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(0.5)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
wait(2)
script.Parent.BackgroundTransparency = script.Parent.BackgroundTransparency - 0.025
script.Parent.Label.Visible = true
It works fine, but the gui doesn’t appear smoothely.
I have looked at the other posts, but they don’t make sense to me…
So How can I make it fade in smoothly?