Jump to content

How to make a button to reopen the gui mid script


Recommended Posts

  • 4 weeks later...
Posted (edited)

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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