Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do you create a dropdown change team GUI?

I've been trying to create a dropdown change team GUI for my new game. I've followed tutorials and tried lots of ways of how to make a change team GUI. I can do a change team GUI, but I want a dropdown GUI so it doesn't use the space of the screen up. I tried to mix them together and change the coding, but it doesn't work. I'm really confused. I also accidentally deleted my scripts, and now I'm very confused.

1 answer

Read up on TweenPosition here. TweenPosition allows you to smoothly move a piece of Gui as seen here. It's just a matter of changing the different values, and hooking it up to a TextButton

GUI:TweenPosition(UDim2.new(1, 0, 1, 0)) --(Taken from the wiki)

First, you must make a GUI variable. To do so you'd typically do something like local GUI = script.Parent.FrameToMove Then, you must find the position property of the FrameToMove and put that into the code above. Then you must figure out what axis you want to move the FrameToMove. Lastly, you'll need to connect a function to this.

If this helped, be sure to accept my answer!

This discussion is preserved as it was. New answers, comments, and votes are closed.