GUI TweenSize Making GUI Disappear

So, I’m trying to make a Gui element resize to make it look like it’s falling from your screen into the Frame. Problem is, when using GuiObject:TweenSize, it just disappears until the tween is finished, and then reappears once it’s done.

tweenpositon the heck.wmv (2.1 MB)

Code controlling this GUI:

local complements = {"Good Job!"; "Well Done!"; "Excellent!"; "Nice!"; "Good Work!"; "Great work!"}
local waveup = basic.waveUpdater

waveup.waveCompleted.Text = "Wave " .. workspace.Assets.Level.Value .. " Completed!"
waveup.complement.Text = complements[rand:NextInteger(1, #complements)]
waveup:TweenPosition(, 0, 0.37, 0), "Out", "Bounce", 1, false, function()
	waveup.rewards:TweenSize(, 0, 0.1, 0), Enum.EasingDirection.In, Enum.EasingStyle.Exponential, 1, true)

I suggest you to instead use TweenService which is more reliable for tweening and should hopefully fix your issue.

Here’s a function that I use:

local Tween           = function(Object, Time, Style, Direction, Customization)
    TweenService:Create(Object,, Style, Direction), Customization):Play()

How you would use it:

Tween(Frame, 1, "Linear", "InOut", {Size =, 0, 1, 0)}) -- Object, Time, Style, Direction and Settings
1 Like