CCBlueX Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    [SCRIPTAPI] Will this work? (Core)

    ScriptAPI
    6
    9
    112
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      Gabriel last edited by Gabriel

      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++;
          }
      }
      
      O CzechHek skiddermaster412 3 Replies Last reply Reply Quote 0
      • O
        ohno @Gabriel last edited by ohno

        @gabriel why you did not test it then

        G 1 Reply Last reply Reply Quote 0
        • G
          Gabriel @ohno last edited by

          @ohno I don't feel like it rn.

          M 1 Reply Last reply Reply Quote 0
          • M
            mems Moderator @Gabriel last edited by

            @gabriel why are you acting like a douche

            hahayes 1 Reply Last reply Reply Quote 0
            • hahayes
              hahayes @mems last edited by

              @mems said in [SCRIPTAPI] Will this work? (Core):

              @gabriel why are you acting like a douche

              trauma

              M 1 Reply Last reply Reply Quote 0
              • M
                mems Moderator @hahayes last edited by

                @hahayes ahahaha

                1 Reply Last reply Reply Quote 0
                • CzechHek
                  CzechHek @Gabriel last edited by

                  @gabriel timer = timerValue.get()

                  G 1 Reply Last reply Reply Quote 0
                  • skiddermaster412
                    skiddermaster412 Banned @Gabriel last edited by

                    @gabriel 095c5cd8-38a5-48db-9bf8-36924cd967c6-imagen.png best coder 2019

                    1 Reply Last reply Reply Quote 0
                    • G
                      Gabriel @CzechHek last edited by

                      @czechhek Thanks.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      About
                      • Terms of Service
                      • Privacy Policy
                      • Status
                      • Contact Us
                      Downloads
                      • Releases
                      • Source code
                      • License
                      Docs
                      • Tutorials
                      • CustomHUD
                      • AutoSettings
                      • ScriptAPI
                      Community
                      • Forum
                      • Guilded
                      • YouTube
                      • Twitter
                      • D.Tube