Stuck On Tweening GUI

I’m trying to create a tweening effect but i’m new to Roblox Tweening. I want to create the effect below.

The thing is, i’m new to tweening and I just made this quick script. This is my result.

As you can see, there’s a small box that tweens instead and doesn’t recreate the effect. What’s wrong?

script.Parent.MouseEnter:Connect(function()
	script.Parent.Frame.Visible = true
	script.Parent.Frame:TweenSize(UDim2.new({1, 0},{0.58, 0}), Enum.EasingDirection.Out, Enum.EasingStyle.Sine, 0.15, true)
end)
1 Like

Just a pointer, you don’t want the {} brackets in your size, because they mess with up the actual size you try to go for

1 Like

Lol! Simple solution! Thanks so much :smiley:

1 Like