Why does not it work? help me please
-
Stopped working when I added module where
you need to specify hp///api_version=2 var Kick = moduleManager.getModule('Kick'); var script = registerScript({ name: "AutoKick", version: "1.0.0", authors: ["My Name"] }); script.registerModule({ name: "AutoKick", category: "Fun", description: "Automatically kicks you when you are low on health" settings: { myHealth: Setting.integer({ name: "Health", default: 4, min: 1, max: 20 }) }; }, function (module) { module.on("update", function() { if ( mc.thePlayer.getHealth() <= module.settings.myHealth.get() ) { Kick.setState(true); } }); });
-
@its-domme fixed shit
///api_version=2 var Kick = moduleManager.getModule('Kick'); var script = registerScript({ name: "AutoKick", version: "1.0.0", authors: ["My Name"] }); script.registerModule({ name: "AutoKick", category: "Fun", description: "Automatically kicks you when you are low on health", settings: { myHealth: Setting.integer({ name: "Health", default: 4, min: 1, max: 20 }) } }, function (module) { module.on("update", function() { if ( mc.thePlayer.getHealth() <= module.settings.myHealth.get() ) { Kick.setState(true); } }); });
-
@Its-Domme Why would you need that script? You already have one in LiquidBounce.