Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Script doesnt work in StarterGUI?

I got a local script and a server script in my PlayerGUI, in Client Server Mode test. The Server cant see inside the PlayerGUI, but the Client can. Why is this?

2 comments

0

Oh and my FE is on. You guys should try, open a new place, insert 1 local script and 1 Server script. The server cant see inside the playerGUI but the client can. WTF?

0

Server Scripts can not access objects in PlayerGui if FilteringEnabled is on. Since PlayerGuis are seen by the client, they are restricted to be edited by the client when FilteringEnabled is turned on.

1 answer

✓ Accepted answer

The client moved the stuff from StarterGui. You might think this is counterintuitive, and that the server should do it, but on a more serious note you shouldn't be manipulating the PlayerGui from a server.

If you need access to your GUIs from the server with FilteringEnabled on, any GUIs which have references in regular Scripts and are moved across from the server into PlayerGui should be manipulatable.

This discussion is preserved as it was. New answers, comments, and votes are closed.