Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Script doesnt work in StarterGUI?

Asked by 7 years ago

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?

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? FlaminSparrow 65 — 7y
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. M39a9am3R 3210 — 7y

1 answer

Log in to vote
2
Answered by 7 years ago

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.

Ad

Answer this question