[SCRIPTAPI] Will this work? (Core)
-
Here is the code so it can be fixed if its broken, if its not broken, tell me
///api_version=2 (script = registerScript({ name: "Redesky LongJump", version: "1.1", authors: ["Arcane, CH"] })).import("Core.lib"); var ticks = 0; module = { name: "RedeskyLongJump", category: "Movement", values: [ ticksValue = value.createInteger("Ticks", 21, 1, 25), timerValue = value.createInteger("Timer", 1.5, 0.1, 3.5), xzMultiplier = value.createFloat("XZ Multiplier", 0.9, 0.1, 1), yMultiplier = value.createFloat("Y Multiplier", 0.77, 0.1, 1), glide = value.createBoolean("Glide", true) ], onEnable: function() { ticks = 0; }, onUpdate: function() { if (ticks < ticksValue.get()) { mc.timer.timerSpeed = timerValue.get(); mc.thePlayer.motionY *= yMultiplier.get(); mc.thePlayer.motionX *= xzMultiplier.get(); mc.thePlayer.motionZ *= xzMultiplier.get(); mc.thePlayer.jump(); } if (glide.get()) { mc.thePlayer.motionY += 0.03; } ticks++; } } -
Here is the code so it can be fixed if its broken, if its not broken, tell me
///api_version=2 (script = registerScript({ name: "Redesky LongJump", version: "1.1", authors: ["Arcane, CH"] })).import("Core.lib"); var ticks = 0; module = { name: "RedeskyLongJump", category: "Movement", values: [ ticksValue = value.createInteger("Ticks", 21, 1, 25), timerValue = value.createInteger("Timer", 1.5, 0.1, 3.5), xzMultiplier = value.createFloat("XZ Multiplier", 0.9, 0.1, 1), yMultiplier = value.createFloat("Y Multiplier", 0.77, 0.1, 1), glide = value.createBoolean("Glide", true) ], onEnable: function() { ticks = 0; }, onUpdate: function() { if (ticks < ticksValue.get()) { mc.timer.timerSpeed = timerValue.get(); mc.thePlayer.motionY *= yMultiplier.get(); mc.thePlayer.motionX *= xzMultiplier.get(); mc.thePlayer.motionZ *= xzMultiplier.get(); mc.thePlayer.jump(); } if (glide.get()) { mc.thePlayer.motionY += 0.03; } ticks++; } } -
@gabriel why are you acting like a douche
-
@gabriel why are you acting like a douche
-
@hahayes ahahaha
-
Here is the code so it can be fixed if its broken, if its not broken, tell me
///api_version=2 (script = registerScript({ name: "Redesky LongJump", version: "1.1", authors: ["Arcane, CH"] })).import("Core.lib"); var ticks = 0; module = { name: "RedeskyLongJump", category: "Movement", values: [ ticksValue = value.createInteger("Ticks", 21, 1, 25), timerValue = value.createInteger("Timer", 1.5, 0.1, 3.5), xzMultiplier = value.createFloat("XZ Multiplier", 0.9, 0.1, 1), yMultiplier = value.createFloat("Y Multiplier", 0.77, 0.1, 1), glide = value.createBoolean("Glide", true) ], onEnable: function() { ticks = 0; }, onUpdate: function() { if (ticks < ticksValue.get()) { mc.timer.timerSpeed = timerValue.get(); mc.thePlayer.motionY *= yMultiplier.get(); mc.thePlayer.motionX *= xzMultiplier.get(); mc.thePlayer.motionZ *= xzMultiplier.get(); mc.thePlayer.jump(); } if (glide.get()) { mc.thePlayer.motionY += 0.03; } ticks++; } } -
Here is the code so it can be fixed if its broken, if its not broken, tell me
///api_version=2 (script = registerScript({ name: "Redesky LongJump", version: "1.1", authors: ["Arcane, CH"] })).import("Core.lib"); var ticks = 0; module = { name: "RedeskyLongJump", category: "Movement", values: [ ticksValue = value.createInteger("Ticks", 21, 1, 25), timerValue = value.createInteger("Timer", 1.5, 0.1, 3.5), xzMultiplier = value.createFloat("XZ Multiplier", 0.9, 0.1, 1), yMultiplier = value.createFloat("Y Multiplier", 0.77, 0.1, 1), glide = value.createBoolean("Glide", true) ], onEnable: function() { ticks = 0; }, onUpdate: function() { if (ticks < ticksValue.get()) { mc.timer.timerSpeed = timerValue.get(); mc.thePlayer.motionY *= yMultiplier.get(); mc.thePlayer.motionX *= xzMultiplier.get(); mc.thePlayer.motionZ *= xzMultiplier.get(); mc.thePlayer.jump(); } if (glide.get()) { mc.thePlayer.motionY += 0.03; } ticks++; } }@gabriel
best coder 2019
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login