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

Server isn't the same as player?

Asked by 6 years ago

I was just testing my game with the server test feature of studio and I noticed that in server window, the players' playergui and player scripts folders are empty. However, in the player's window, I can see the scripts, guis, etc. So I'm just wondering, is the server window supposed to not show those things?

0
Yes. If the server clones a gui and parents it to the player's playergui, it will able to see the gui clone. hellmatic 1523 — 6y

1 answer

Log in to vote
3
Answered by
thebayou 441 Moderation Voter
6 years ago

Directly from the Roblox Wiki:

PlayerScripts are not accessible to the server.

The same is true for PlayerGui; these two simply cannot be accessed and modified from the server. If you need to, then set up a remote event/fe-friendly way of accomplishing your goal.

0
Thanks for the answer. It makes sense now and maybe I’ll try a remote event. tygerupercut3 68 — 6y
Ad

Answer this question