Hello brothers, I made a regen script to test on the server allowed Hack but there is a problem that does not appear in the clickgui
-
@leejames2305 James how can I get the class to just play to become JS? I tried to make this script in vs code on a regen crest basis
-
@skidma Hi got the script?
-
@itzhackzz learn scriptapi
-
-
@hahayes and man, what has to do with that? I still do not understand
-
@hahayes dont remember dont care
-
@hahayes yeah yeah hold on there ill get back to u when i finish in ur mom
-
@itzhackzz said in Hello brothers, I made a regen script to test on the server allowed Hack but there is a problem that does not appear in the clickgui:
@mems Is there a way to help or not?
You might want to do it properly and it wont have any issues
-
EZ script
var scriptName = "Regen";
var scriptAuthor = "T";
var scriptVersion = 1.0;var S08PacketPlayerPosLook = Java.type ("net.minecraft.network.play.server.S08PacketPlayerPosLook");
function DisablerModule() {
this.getName = function () { return "Regen1"; } this.getCategory = function () { return "Player"; } this.getDescription = function () { return "Regen script"; } var S08PacketPlayerPosLook = value.createBoolean("Regen", true); this.addValues = function(values) { values.add(Regen); } this.onPacket = function (event) { var packet = event.getPacket(); if ((packet instanceof S08PacketPlayerPosLook.get())) { event.cancelEvent(); }
}
}var disablerModule = new DisablerModule();
var disablerModuleClient;function onEnable() {
disablerModuleClient = moduleManager.registerModule(disablerModule);
}function onDisable() {
moduleManager.unregisterModule(disablerModuleClient);
}