Invisible scripts

Hello everyone,

I tried making a script invisible in studio, but it always stands there and it’s harmful for rest of my eyes! Can someone give me idea about this? I want to make a script invisible in studio and execute when you enter the game.

What do you mean by “Invisible Script”? making your character invisible?

I mean… Script isn’t showing in explorer on studio. But when you enter game it executes.

You can set the script’s parent to nil, it’ll still run normally.
However, I don’t believe you can actually hide scripts in studio, only when playing.

If it’s a server script u can just remove it on the Client-side but on the server side it’ll still be there working, but if its a localscript i don’t think you can parent them to nil since they’ll stop working?

I want it to not be seemed in studio, not game. Client normally cannot see scripts but in studio you cant, im talking about a plugin not hiding scripts in your game.

Why would you want that? And no, I doubt this is an option.
EDIT — however you can do Location.Script.Parent = nil in the console though, but it’ll just be destroyed, in other words: won’t run in-game.

1 Like

I want that for my self-setup framework, it sets up itself for game’s gameplay enviroment. And there is so much scripts that when I install the framework over a plugin it just fills mostly ServerScriptService

is there atleast a service that the code will run but player won’t see the LocalScript(s) mostly, I had the idea to put scripts in TestService (since most users don’t use or even look at it :/) but what do I do about serverside scripts?

Players don’t really see scripts though, only exploiters will be able to do that.
But yes, if you parent them to nil during game-time they won’t be shown.

Serverside scripts usually belong in ServerScriptService, no player can see the content inside because it is not replicated to the clients.

1 Like

You can hide Server Sided scripts in ServerScriptService. It doesn’t replicate to the client.

You can hide Client Sided scripts by either:

Making the script a function, setting its env to another script, destroying the original script.

Making a HopperBin parented to nil and setting the parent of the script to that HopperBin hides the script.

Hiding the script in a really deep folder is also effective.

Oh, my, god. Why can’t I explain it. my framework is just a plugin and this plugin simply installs scripts into game. But a normal developer can see both serverside and LocalScript easily. I dont just want them to be around. its making hard to develop. im talking about a plugin not hiding scripts in-game. Since a normal client cannot see the script without a exploit.

Why don’t you want them to see the scripts…?

1 Like

Then don’t allow them to see it? Simply parent the scripts to nil, they will not be visible, what so ever. Not even by exploiters (unless they access it via their memory, of course.)

The code doesn’t run if its parented to nil iirc.

1 Like

Because its closed source… And making pollution since my framework includes a lot of scripts

Yes it does. Try it.
You’re welcome to reply afterwards.

Oh ok, ill try it right now. I thought it didn’t

2 Likes

Any localscripts can be stolen by an exploiter, there is no way you can possibly prevent that.
However serverscripts are safe, because its bytecode is not replicated to the clients.

I know it can be stolen by exploiters, I just don’t want my scripts to appear in roblox studio explorer. I already know that exploiters can steal local scripts but as I said I don’t want a normal developer to just see scripts in their explorer after installing plugin