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

Should GUI be stored in Replicated Storage, Server Storage, or Created Through a Script?

Asked by 5 years ago
Edited 5 years ago

I have a couple GUIs that I made and they're at the moment stored in the replicated stored. I was wondering for against exploiters if the GUI is fine to stay there or if it should scripted it self or if I should store it in the server storage and use a remote event to transfer it.

EDIT: Forgot to mention that the GUI is for a menu which a player needs to click on something for it to pop up and I'm not sure if an exploiter could modify the GUI details inside replicated storage

0
Is there an issue with storing it in StarterGui? As long as the GUI themselves have no secret info in them, exploiters can't do anything. You'll generally want to handle all GUIs locally. gullet 471 — 5y
0
Then the GUI would clone itself when the player joins or dies and I would have to delete it first hand. I'm talking about a menu kind of GUI to where the user would press a button and it would pop up Retr0Thief 104 — 5y

3 answers

Log in to vote
1
Answered by 5 years ago

It is irrelevant, either it's stored somewhere the client can locate it at, and therefore so can an exploiter, or it's stored in the server and no client (or exploiter) has access to it.

Don't try to stop exploiters from the client, they are able to do everything you can do with a localscript and more, under most circumstances. Instead, focus on working your server to only accept proper remote input. Planning out game logic is a lifesaver.

TL,DR; Doesn't matter all that much, unless the client literally can't access it (ServerStorage).

1
Thanks! This was exactly what I was looking for and it answered some questions that I had related to exploiters Retr0Thief 104 — 5y
Ad
Log in to vote
0
Answered by
Lyphios 77
5 years ago

Uh, StarterGui? With local scripts?

Log in to vote
0
Answered by
2ndwann 131
5 years ago

Okay. Usually what I do is place them in ReplicatedStorage just for the sake of performance. Then when the player joins, I clone the gui to the PlayerGui using a localscript.

Well, that was a good question and I hope I helped.

Answer this question