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

How do I make a ImageLabel fade?

Asked by 5 years ago
Edited 5 years ago

If you're confused with what I'm trying to ask, I'll explain it to you. I'm currently creating a game that I started around a day ago and I'm almost done with the menu of the game, but the problem is that i am currently having difficulties with my logo that I created into implementing how I want. I am trying to make my logo appear after a few seconds then disappear and the scripts that I was handed only made it just appear and disappear rapidly and I just want it to do it only once. I've tried scripting my own script but nothing is working. Can you help me? (P.S. I am a beginner.)

0
tweening DeceptiveCaster 3761 — 5y
0
try slowly changing the background transparency? OBenjOne 190 — 5y
0
as in repeat wait () transparency = transparency - 0.01 until transparency <= 0 OBenjOne 190 — 5y
0
idk though the text might still be there... OBenjOne 190 — 5y
0
Can you show your script? Igoralexeymarengobr 365 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago
script.--insert its path--.Transparency = 1 -- now its totally invisible
wait(0.1)
script.--insert its path--.Transparency = 0.9
wait(0.1)
script.--insert its path--.Transparency = 0.8
wait(0.1)
script.--insert its path--.Transparency = 0.7
wait(0.1)
script.--insert its path--.Transparency = 0.6
wait(0.1)
script.--insert its path--.Transparency = 0.5
wait(0.1)
script.--insert its path--.Transparency = 0.4
wait(0.1)
script.--insert its path--.Transparency = 0.3
wait(0.1)
script.--insert its path--.Transparency = 0.2
wait(0.1)
script.--insert its path--.Transparency = 0.1 
wait(0.1)
script.--insert its path--.Transparency = 0 -- now it will be visible--
wait(5) --for how long it will stay visible change the value if you want--
script.--insert its path--.Transparency = 0.1
wait(0.1)
script.--insert its path--.Transparency = 0.2
wait(0.1)
script.--insert its path--.Transparency = 0.3
wait(0.1)
script.--insert its path--.Transparency = 0.4
wait(0.1)
script.--insert its path--.Transparency = 0.5
wait(0.1)
script.--insert its path--.Transparency = 0.6
wait(0.1)
script.--insert its path--.Transparency = 0.7
wait(0.1)
script.--insert its path--.Transparency = 0.8
wait(0.1)
script.--insert its path--.Transparency = 0.9
wait(0.1)
script.--insert its path--.Transparency = 1 - now its totalyy invisible--
wait(0.1)

Im bad at scripting too i hope if this can help u

Ad

Answer this question