Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

How to remove transparency after a certain amount of time ingame?

Asked by 5 years ago

Im working on a game and wanted to make a loading screen gimmick where you are in the lobby and as the game is loading stuff starts to "Load" by becoming nontransparent. What kind of script would I uses for this?

0
This is not a place to ask for script, this is a place to ask help about scripting Azure_Kite 885 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

At least make an attempt but, here you go...

01for i = 1, 20 do
02    coolText.TextTransparency = coolText.TextTransparency- 0.05
03    wait()
04end
05 
06--[[
07    Change coolText to what you want to change
08    Change TextTransparency to BackgroundTransparency etc
09 
10    Makes the GUI "fade in"
11]]
12 
13for i = 1, 20 do
14    coolText.TextTransparency = coolText.TextTransparency + 0.05
15    wait()
View all 23 lines...
Ad

Answer this question