For example, I want to modify BasicAdmin 2.0 and HD admin so instead of prompting users to buy the creator's gamepass I want it to promot users to buy my gamepass, but apparently they use a method of setting their scripts to Nil (at least that is what ForeverHD said). So how do I get in this "Nil". Before you say that they are hidden for this exact reason, I know that, but I just think 400 robux for a fricking cape is not worth it, neither cosmetic commands in HD admin.
How do I view the source code of some scripts?
1 answer
Problem
There is no way into editing the source code of a script with a script, module script or local scripts, some exploits can see the source code but if you try from a base script an error would be returned, only PluginSecurity, core scripts, studio command bar, etc, can access to the source code
Is there any way to get it?
Yes there is actually a way, clone the script when added and add it to the server script, Make a script into ServerScriptService, and put this:
local newScripts = Instance.new("Folder",script)
newScripts.Name = "newScripts"
game.DescendantAdded:Connect(function(child)
local Success,Response = pcall(function() return {child.Parent,child.ClassName} end) -- Call the function in protected call
if Success then --// check if succeed
if Response then --// check if response is not nil
if type(Response) == "table" then --// check if response is a table
if Response[2] == "Script" or Response[2] == "LocalScript" or Response[2] == "ModuleScript" then
local clone = child:Clone()
clone.Disabled = true
clone.Parent = newScripts
end
else
warn("A "..type(Response).." was given instead of a table")
end
else
warn("No Response")
end
else
warn("Attempted to access a core script / gui / roblox locked object")
end
end)
This would basically clone every script that is able to clone and was added to the game (or anywhere into the game).
What can i do with the cloned scripts?
Easy! You just go into server mode (while testing) and copy all the scripts inside the folder, now you can just finish the test mode and paste them, then edit the source code and get all the settings of the loader, put it into the source, delete the loader and run the source code with the settings, done!
Note: If you are a beginner you should learn about tables for the settings
If this helped or answered your question, mark this as the answer! :D
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Maybe inside the module script that they say in the description of the initializing script or the asset page.
Marked as off topic as this is not free model support or steal the code of a free model support.