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

why is my game is deleting everything in ServerStorage?

I haven't got any Plugins installed in Roblox Studio, but whenever I test my game ServerStorage is completely blank. Does anyone know why this is happening to me?

2 answers

This is because whenever you test out your game, you are testing on your client side. Whenever you are controlling your player in Studios, you are in the client side, which means you can only see what the client can see. This is to protect your game from exploiters by preventing anyone from just accessing all your code.

If you want to see what the server sees, press the run button(F8) rather than the play button.

It isn't deleted, it is just not visible. The client (you when testing) cannot see the ServerStorage. This is to prevent exploiters from accessing just about everything. If you look at the Top Bar, there's a button that says Current: Client. Click it and it will turn to Current: Server, then you can see what the server (you when editing) sees. This is also why local scripts cannot access ServerStorage. Only server scripts can see ServerStorage. This is the same with ServereScriptService btw.

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