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

Why are my scripts in Serverscriptservice keep deleting after testing the game?

All the scripts in serverscriptservice keeps deleting after I load in a test game. I even tried with roblox player but same thing occurs... Any fix. Is there a virus that deletes it or somethin?

2 comments

0

Look in the output if there is anything suspicous, remove that game asset

0

ok

2 answers

✓ Accepted answer

The scripts are not destroyed, they're just hidden from the client. Let me explain.

ServerScriptService is the service that will run any server scripts contained within it. Because of FilteringEnabled, you cannot see these scripts inside of the service unless you do a server-and-client run from the TEST tab in Roblox Studio. If you do so, you'll see the scripts in the service from the server, but not any of the game clients.

If you doing these kinds of runs and the scripts are still being deleted, it means that you have installed a plugin or have inserted a free asset that contains a malicious script. In that case, delete the asset or uninstall the plugin. If the problem pursues, use an up-to-date antivirus plugin.

The scripts are supposed to be hidden.

2 comments

0

As short as an answer this is. He is correct. ServerScriptService is a container for programs that will run on the Server itself. These programs cannot be referenced or accessed for Filtering Enabled reasons. In conclusion, there is nothing to worry about.

0

Oh well, it didnt happen before and now when I try, nothing happens as the scripts were suppose to.

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