6

Shawnyg 4251
7 years ago

I've tried the fading several different ways, but it just pops away. Like I destroy it before the fade.

Also, the tweening, it's not smooth. It just pops like I changed the Visible property

a = game.Lighting.Welcome_GUI

p:WaitForChild("PlayerGui")
a:clone().Parent = p.PlayerGui
wait(2)
repeat
p.PlayerGui.Welcome_GUI.ImageLabel.ImageTransparency = p.PlayerGui.Welcome_GUI.ImageLabel.ImageTransparency + 0.1
wait(0.01)
until
p.PlayerGui.Welcome_GUI.ImageLabel.ImageTransparency == 1
p.PlayerGui.Welcome_GUI:Destroy()
end)


0
Try changing + 0.1 to less, like 0.05. About tweening, it is very smooth I think. Tesouro 407 — 7y
0
It still didn't fix it. Any other tips? Shawnyg 4251 — 7y
0
The issue may be because this is being done from the server. Try doing the same code from the client (without the PlayerAdded event of course). Also, check line 12, you use a '==' to set the value. A typo? Should be '='. Tkdriverx 514 — 6y

1

The way I fade is, with a loop.

a = game.Lighting.Welcome_GUI

p:WaitForChild("PlayerGui")
a:Clone().Parent = p.PlayerGui
wait(2)