I want to achieve a skyrim-style UI fade in [Video below] I’ve managed to get a UI gradient working
on the text itself but I don’t know how to script it to fade in
1 Like
In terms of a whole fade, you can use the TweenService
. However, I don’t know how you would do it so each letter fades in individually.
local ts = game:GetService("TweenService")
local info = TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.Out)
for _, v in ipairs(itemHolder:GetDescendants()) do
if v:IsA("Frame") then
ts:Create(v, info, {BackgroundTransparency = 0}):Play()
elseif v:IsA("UIGradient") then
--etc.
elseif v:IsA("TextLabel") then
--etc.
end
end
Insert a UIGradiant
and tween its transparency value…
local gradiant = Instance.new("UIGradiant")
local tween = game.TweenService:Create(gradiant, TweenInfo.new(1), {Transparency = 0})
tween:Play()
I hate it when this happens, I always make a post and then find the solution on another STRAIT AFTER even though Ive already searched for ages, heres the solution… Smooth UI fade out
1 Like
Just as I mentioned above.
Anyway, good luck on your game.
You may try a UIGradient combined with an image or text label and set the gradient to effect transparency. Then update the number sequence over time with a script to fade from left to right.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.