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

why is my game is deleting everything in ServerStorage?

Asked by 3 years ago

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

Log in to vote
2
Answered by 3 years ago

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.

Ad
Log in to vote
0
Answered by
NGC4637 602 Moderation Voter
3 years ago

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.

Answer this question