Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How can I make my ImageLabel fade out after clicking the "play button"?

StarterGui>ScreenGui>LocalScript1

StarterGui>TextLabel>LocalScript2

StarterGui>ImageLabel

In Local Script 1 my script looks like this:

print("DONE")

local textlabel = script.Parent:WaitForChild("Play")

wait(1)

textlabel:TweenPosition(UDim2.new(0.005, 0,0.006, 0),"Out","Back",0.5)

wait (3)

--This causes my play button to appear--

In Local Script 2 my script looks like this:

script.Parent.MouseButton1Click:connect(function()

script.Parent:TweenPosition(UDim2.new(-0.313, 0,0.012, 0),"Out","Back",0.5)

wait(3)

end)

--Makes Play Button disappear when clicked--

My issue is that I can't seem to find a way to have my background which is my ImageLabel fade out after my play button is clicked. Can anyone offer any help or tips? I would greatly appreciate it!

2 comments

0

how do you want the backround to fade? into blackness? into whitness? or just go transparent so the player sees their character?

0

Ideally, I'd like the background to fade into whiteness, and then be removed entirely-allowing the player to see their charcater

1 answer

✓ Accepted answer

You could just add a gui that covers the whole screen, and then make it fade over the background so it looks like the background is fading

This discussion is preserved as it was. New answers, comments, and votes are closed.