Some module renamer script which anyone can make
-
@hacked-clients-minecraft Thanks.
-
@phạm-minh-đức-official Thanks.
-
@ali00035 said in Some module renamer script which anyone can make:
// TODO: Make this script affect ClickGUI too.
did it on accident
wanted to make a spoofmodules script
use core and it works xdddfor each (var module in moduleManager.modules) { moduleManager.getModule(module.name).name = "any" //module.name = x works too? }
if you do that lb resets everything ig so dont do that. Implement it into your command xdd!
It could also be that those changes only take effect after reloading ig. So you would need to reset them somehow. -
@faaatpotato Lol nice
-
///api_version=2 (script = registerScript({ name: "ModuleRenamer", version: "1.0.0", authors: ["Ali00035"] })).import("Core.lib"); saveNames = [] RenameModule = { name: "RenameModule", aliases: ["rm"], version: script.version, handler: { rename: function(moduleName, newName) { for each (var module in moduleManager.modules) { if (module.name == moduleName) { module.name = newName saveNames.push(moduleName, newName); commandManager.executeCommands(".r ClickGUI") clearChat(); } } }, reset: function() { for (i = 0; i < saveNames.length; i++) { for each (var module in moduleManager.modules) { if (module.name == saveNames[i] && saveNames.length > 0) { module.name = saveNames[i-1] } } } saveNames = [] commandManager.executeCommands(".r ClickGUI") clearChat(); } } } command = RenameModule;
-
@faaatpotato best
-
@melih_gmc2 still could contain some bugs, be careful. Made this in 5mins diddnt test enough
For example if you execute reset twice. Fucks everything xdd
need to clear the array therek fixed that
-
-
@faaatpotato said in Some module renamer script which anyone can make:
for each (var module in moduleManager.modules) {
if (module.name == moduleName) {I already know this method because of Nvaros' clickgui hide script (props to him) I wanted to add this but it wasn't a good idea.
-
@faaatpotato No, the clickgui module renaming idea.
-
-
@faaatpotato Yeah, not a good idea.