How do I tween textsizes?

Example of my code:

local T = game:GetService("TweenService")
local l_1 = TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut

T:Create(script.Parent, l_1, {TextSize = 20}):Play

Simply didn’t work.

you are missing a ) after your tweeninfo

local T = game:GetService("TweenService")
local l_1 = TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut)

T:Create(script.Parent, l_1, {TextSize = 20}):Play

It was a example, either way it doesn’t work

The only things that can make the tween not working is by having the “TextScaled” propertie enabled or having a TextSizeConstraint into the object.

Tried it and it work

local TweenService = game:GetService("TweenService")
local TweenInfos = TweenInfo.new(0.5)

TweenService:Create(script.Parent, TweenInfos, {TextSize = 50}):Play()

Thanks, I didn’t know that it.
I use textscaled and the textsize for scaling to be good for mobile players.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.