TweenPosition on Gui not working

Hey Everyone,
I’m making a GUI for my story game, it’s supposed to tween in, as it’s when the players sleep. However, it just jumps like this: https://gyazo.com/d8b63962ba0085d223130f030fd8f992
It’s supposed to tween in.
Here is my script:

wait(6)
script.Parent.BottomFrame:TweenPosition(UDim2.new(0, 0,0.5, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Bounce,0)
script.Parent.TopFrame:TweenPosition(UDim2.new(0,0,0,0), Enum.EasingDirection.Out, Enum.EasingStyle.Bounce,0)

Thanks for any help! There are no errors.

3 Likes

You have the time parameter set to 0, this is what is causing your problem. Try setting it to an interval in seconds you’d like the tween animation to take.

4 Likes