So, when you click a part in the workspace, a GUI opens, nothing going wrong. I close the gui in the local script, nothing going wrong. But when I try to open the gui from the part again, it will not open.
It’s because on the server the gui is seen to be still enabled = true and since the value is still enabled = true there’s no need to change it. Only on the client it is seen as enabled = false. Since it is not changed it does not send a message to the client to replicate it. A hacky fix to it would be to do
but a better way without having to turn it off and on in the server would be to keep it all on the client. So when you click the part have it fire a remote event to the client to make the GUI visible.