Gui appear and then fade to black

Hello,

I’m a fairly new coder and desperately need to create a system in which I can activate a Gui which will appear on my screen and slowly fade to transparency after a few seconds. Javascript would be ideal and thank you so much in advance.

Also, if there is anyway you can direct me to a decent time/deltatime tutorial it would be greatly appreciated!

you can do this by GUI.color for setting alpha value changing from 1 to 0. this way first GUI appears and then smoothly fade out. for smooth fade out you can use mathf.lerp to change value from 1 to 0.