Why exactly are server scripts not working in GUIs?

I don’t really see why as it is a developer option to use them or not. It is harder to implement getting data from a DataStore than using a direct server script (example). Why aren’t they working?

The GUI is replicated on the client and not the server. Server scripts can’t run on the client, therefore you cannot use server scripts in a GUI

Technically they would work if StreamingEnabled is enabled, right?

No, StreamingEnabled is something entirely different. StreamingEnabled is used to ‘stream’ parts in for players for where they are in the world.

So only BaseParts? Not any other type of instance?

I don’t know how this question is relevant for your topic, but if you wish to learn more about StreamingEnabled please go to: Content Streaming | Roblox Creator Documentation

1 Like