GUI not showing after second click

I have a NPC where if you click the NPC, a gui shows it. It uses clickdetector & the script is inside of clickdetector & it’s a serverscript.

player.PlayerGui.JobGUI.Frame.Visible = true


Although it only makes the GUI visible once, then it never makes it visible again. Any ideas?

1 Like

I don’t understand, what does it make it invisible after the first click?

They click the “No” button and it makes it invisible but when they click the clickdetector again, it just doesn’t show it.

That doesnt make any sense, can you explain better?

Yeah, the No button is client sided whilst the actual UI is on server. The server thinks its still visible, in reality it shouldn’t be.

1 Like