Hello!
As most of you know, I’m currently working on my Menu UI and I’m now coming onto the scripting part of it.
I’m currently making a UI to open the menu, but I have no clue on how to script it. I see it in many games where you would click a “gamepasses” button and it would open.
Any help would be appreciated, thanks!
Noah
2
So just to clarify you want a button that you can only use if you own a gamepass?
Noah
3
Maybe your talking about Developer Products?
I can send an example of what I need, it seems confusing now reading it.
1 Like

This is something I want it to look like, so I would click the button and the menu would open. (Sorry for the low quality on the GIF.)
Noah
6
Oh, so you want a button where you can purchase a gamepass, or just a menu button, or both?
It want it so when you click the button, it will open the Menu UI.
Noah
8
I think you’re in need of TweenService.
Noah
9
Here is an example script:
local object = script.Parent
wait(2)
object:TweenPosition(UDim2.new(0.5, 0, 0.5, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad)
Parameters
Here are the parameters for: GuiObject:TweenPosition()
Returns
Here is what: GuiObject:TweenPosition() will return.
| Return Type |
Summary |
| bool |
Whether the tween will play |
1 Like
system
Closed
10
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.