Hello, I have a question: Is it Possible to prohibit all players in the server at the same time from accessing a specific gui? If yes, maybe someone could explaint it a bit?
Thank you.
Hello, I have a question: Is it Possible to prohibit all players in the server at the same time from accessing a specific gui? If yes, maybe someone could explaint it a bit?
Thank you.
If it's a SurfaceGui, use
SurfaceGui.Enabled = false
in a server-sided script
If it's a ScreenGui, use a remote event, and fire from a server-sided script.
Use the :FireAllClients() function.
The clients will recieve it and you can remove the GUI from the client sided script like that.
Check this out: https://developer.roblox.com/en-us/api-reference/function/RemoteEvent/FireAllClients
This discussion is preserved as it was. New answers, comments, and votes are closed.