Text Won't Fade In


I’m basically trying to get a TextLabel to Fade In. Here’s what I’m using;

for count = 1, 0, 0.1 do -- 1 Stands for the transparency it begins with, 0 stands for the transparency it ends with.
	TextLabel.TextTransparency = count
	TextLabel.TextStrokeTransparency = count

(This does not work for some reason)

When I change it to for count = 0, 1, 0.1 do it ends up working but instead of Fading In, it Fades out since it starts with Transparency 0 and ends with Transparency 1.

How do I fix this?

If you want to go down when using a for loop, you need to make the increment a negative value.

for count = 1, 0, -0.1 do
1 Like

Why dont you just use tweenservice?

1 Like

I asked how to Fade In with TweenService, but apparently it’s “not possible”.

anything is possible basically you just have to make the texttransparency 1 and then tween it

1 Like

I’ll be honest, I didn’t know and still don’t know how to do it with TweenService. How would I do it?

It is, any property (well technically speaking a set of datatypes) can be tweened. I’d suggest to learn more about TweenService.

local tween = TweenService:Create(TextLabel, TweenInfo.new(), {TextTransparency = 0, TextStrokeTransparency = 0})
1 Like
local ts = game:GetService("TweenService")

local texttween = ts:Create(textobject, TweenInfo.new(1), {TextTransparency = 0})
1 Like

I thought I knew a lot about TweenService, look at that. Thank you.

1 Like

No problem man I hope you do great things with tweenservice!

1 Like