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 4 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 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

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

for i = 1, 20 do
    coolText.TextTransparency = coolText.TextTransparency- 0.05
    wait()
end

--[[
    Change coolText to what you want to change
    Change TextTransparency to BackgroundTransparency etc

    Makes the GUI "fade in"
]]

for i = 1, 20 do
    coolText.TextTransparency = coolText.TextTransparency + 0.05
    wait()
end

--[[
    Change coolText to what you want to change
    Change TextTransparency to BackgroundTransparency etc

    Makes the GUI "fade out"
]]
Ad

Answer this question