THIS HAS BEEN SOLVED
Hi, so there is a button which opens a shop GUI. However, when I close the shop gui and try to open it again with the button, it just doesn’t work. There are no errors. Sorry, I know I am a new scripter any help will be appreciated.
You’re opening it on the server and closing it on the client, the server can’t detect that it closed because it still sees it as enabled
You need to change the enabled property locally when opening, which probably for you the easiest way is to put the code used to open the gui inside of the same script that closes it, so that way they’re both done locally
That wont work, localscripts don’t run in the workspace, they only run if they’re a descendant of one of these