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

Server isn't the same as player?

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?

1 comment

0

Yes. If the server clones a gui and parents it to the player's playergui, it will able to see the gui clone.

1 answer

✓ Accepted answer

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.

1 comment

0

Thanks for the answer. It makes sense now and maybe I’ll try a remote event.

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