Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

TweenSize not working, help?

Asked by 9 years ago

I'm making a nice, short, basic intro gui and I want to employ TweenSize. I have made many intro guis before, but theyve all used TweenPosition. This is my first time using size and I already have an issue. When I run it, the frames don't smoothly get bigger, as they all start with a size of {0, 0, 0, 0}. What it looks like on my screen, is that I may as well have altered transparency from 1 to 0,a s there is no animation, it suddenly appears. Any help would be great. Thanks!

wait(1)

--// Variable Storage

local lineOne = script.Parent.StepOne
local lineTwoA = script.Parent.StepTwoA
local lineTwoB = script.Parent.StepTwoB
local lineThreeA = script.Parent.StepThreeA
local lineThreeB = script.Parent.StepThreeB
local text1 = script.Parent.Text1
local text2 = script.Parent.Text2
local text3 = script.Parent.Text3
local logo  = script.Parent.Logo

--// Logic

lineOne:TweenSize(UDim2.new(0.15, 0, 0, 1), 'Out', 'Quint', 1)
lineTwoA:TweenSize(UDim2.new(0, 1, 0.3, 0), 'Out', 'Quint', 1)
lineTwoB:TweenSize(UDim2.new(0, 1, 0.3, 0), 'Out', 'Quint', 1)
lineThreeA:TweenSize(UDim2.new(1, 0, 0, 1), 'Out', 'Quint', 1)
lineThreeB:TweenSize(UDim2.new(1, 0, 0, 1), 'Out', 'Quint', 1)

1 answer

Log in to vote
0
Answered by
Goulstem 8144 Badge of Merit Moderation Voter Administrator Community Moderator
9 years ago

Your script is fine, maybe try extending the float time, the fourth argument in the TweenSize method.. other than that then there's nothing that could be wrong unless your Sizes aren't accurate to what you're trying to accomplish.

Ad

Answer this question