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

How do i animate in screenguis?

Asked by 6 years ago

I got this question for a long time now. So i want to animate my menus. So if you click a button a frame slides over the screen. Before i just used the .Visible method but i want the more advanced method so it like rotates smooth or slides smooth over the screen or gets bigger and disappears. Can someone please tell me how?

1 answer

Log in to vote
1
Answered by
4D_X 118
6 years ago

Use tween position or tween size. These use smooth transitions and are great! http://wiki.roblox.com/index.php?title=Gui_Tweening Here's a example

script.Parent:TweenPosition(UDim2.new(1,0,1,0), "Out", "Elastic", 1, true)
1
To add on, you can also use http://wiki.roblox.com/index.php?title=API:Class/TweenService ;D Goulstem 8144 — 6y
Ad

Answer this question