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

How do I make a screen gui fade?

Asked by 7 years ago

I have a screen gui everything. When I test it it just stays there. I want to know the command that makes it fade away. Please help.

1 answer

Log in to vote
1
Answered by 7 years ago
for i = 0, 1.05, 0.05 do
    ScreenGui.BackgroundTransparency = i
    wait(0.01)
end

Basically, what this says is 0 is the starting transparency and you are increasing the transparency by an increment of 0.05 until it gets to 1 (the code says 1.05 but it really stops at 1). Now just replace "ScreenGui" with your Frame, TextLabel, TextButton, etc. and go build something awesome. Good Luck :D

0
How do I replace a frame with the screen gui iiLuqman 0 — 7y
Ad

Answer this question