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

How can I make Guis fade from Transparent To Non-Transparent?

Im making a 2d platformer and for my intro cutscene i would like some guis such as my play button gui to fade onto screen. I dont know anything about this idea accept the fact that you probably will have to use TweenService. Any help would be Greatly Appreciated. Thanks!

1 answer

Tweenservice what you would have to use

here is an example

local TweenService = game:GetService("TweenService")
 
 
local goal = {} 
goal.Transparency = 0  -- this is the property we want to affect, and we give the value we want it to have

 
local tweenInfo = TweenInfo.new(2) -- first paramater is how long the tween has to be in seconds
 
local tween = TweenService:Create(playButton, tweenInfo, goal)
 
tween:Play()

Here you can find more information about tweenservice

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