Not sure why it doesnt work like it should..
1 | for i = 1 , 3 do |
2 | LoadingFrame:TweenSize(UDim 2. new(LoadingFrame.Size, 560 , 0 , 310 ), "Out" , "Back" , 0.7 , true ) |
3 | wait( 0.3 ) |
4 | LoadingFrame:TweenSize(UDim 2. new(LoadingFrame.Size, 550 , 0 , 300 ), "Out" , "Back" , 0.7 , true ) |
5 | end |
Alright, so I found a fix. You want this to only loop for a certain amount of time before stopping, correct? If so, It's as simple as adding a wait right before the end.
1 | for i = 1 , 3 do |
2 | LoadingFrame:TweenSize(UDim 2. new(LoadingFrame.Size, 560 , 0 , 310 ), "Out" , "Back" , 0.7 , true ) |
3 | wait( 0.3 ) |
4 | LoadingFrame:TweenSize(UDim 2. new(LoadingFrame.Size, 550 , 0 , 300 ), "Out" , "Back" , 0.7 , true ) |
5 | wait( 0.3 ) |
6 | end |