Jump to content

How to make a button to reopen the gui mid script


slayManiaq

Recommended Posts

  • 4 weeks later...

First off in order to show your gui you have to reference it by a variable

gui = mainUI();

Then you have to show your ui in your code using

gui.show();

When you finish UI setup you call

gui.hide();

So in order to show the UI again, you need to create a mouse event listener to listen within a specific area of the client (a paint button; use that area to listen for the event) and when the spot is clicked do the

gui.show();

function again

Edited by knifed faces
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...