Replace the :TweenSize()
with:
local tween = TweenService:Create(
new,
TweenInfo.new(0.8, Enum.EasingStyle.Sine, Enum.EasingDirection.In),
{Size = Udim2.new(1, 0, 0.14, 0)}
):Play()
Replace the :TweenSize()
with:
local tween = TweenService:Create(
new,
TweenInfo.new(0.8, Enum.EasingStyle.Sine, Enum.EasingDirection.In),
{Size = Udim2.new(1, 0, 0.14, 0)}
):Play()
Enum is an error?
eeeeeeeeeeeeeeeeeeee
Oops forgot a comma, try now (I edited the reply)
“Unable to cast dictionary”
pretty sure it’s about the UDim2?
local tween = TweenService:Create(new.Size,TweenInfo.new(0.8, Enum.EasingStyle.Sine, Enum.EasingDirection.In),{UDim2.new(1, 0, 0.14, 0)}):Play()
You forgot to type in Size =
here
Change line 36 for this:
TweenService:Create(new,TweenInfo.new(0.6),{BackgroundTransparency = 1}):Play()
Transparency is not a TextLabel property.
But everytime it’s written like that it has an error.
local tween = TweenService:Create(new.Size,TweenInfo.new(0.8, Enum.EasingStyle.Sine, Enum.EasingDirection.In),{UDim2.new(1, 0, 0.14, 0)}):Play()
“Unable to cast dictionary”
@BawTheSeal says to use this:
TweenService:Create(new,TweenInfo.new(0.8,Enum.EasingStyle.Sine,Enum.EasingDirection.In),{Size = UDim2.fromScale(1,0.14)}):Play()
ok, this works now, but it still tweens left to right.
You must replace this:
UDim2.fromScale(1,0.14)
For this:
UDim2.fromScale(-1,0.14)
it just tweens right to left now, off the screen.
Explain what you want, I still don’t understand xd
I want the textlabel to tween both sides at once.
Something like this?
yea, but problem is i did what he said (set anchor point) which is what this guy also said above
but still it is not working.
any ideas?
Try setting the AnchorPoint as 0,0.5
did not work. Not sure what will solve this lol
yea!
maybe it’s not working because of the uilistlayout or something…
solved it, problem was the UIListLayout constraint was setting the FillDirection to “Left”, which cancelled out the AnchorPoint’s effect.