CCBlueX Forum

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

    helpy

    Requests
    4
    18
    360
    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.
    • 23 hours
      23 hours last edited by

      Can someone remove the scaffold part from this script,, I tired but keep ruining it ._.
      i want it to work when even I want not only when I have scaffold enabled.
      Test2.js

      Plumer Man 2 Replies Last reply Reply Quote 0
      • Plumer Man
        Plumer Man @23 hours last edited by

        @23-hours c2a1b663-74ff-420a-b31c-82a4867e52ec-image.png

        23 hours 1 Reply Last reply Reply Quote 0
        • 23 hours
          23 hours @Plumer Man last edited by

          @plumer-man can i change that to like "if(Sprint.getState()) {" will it work then as long as i have sprint enabled?

          23 hours 1 Reply Last reply Reply Quote 0
          • 23 hours
            23 hours @23 hours last edited by

            @23-hours said in helpy:

            @plumer-man can i change that to like "if(Sprint.getState()) {" will it work then as long as i have sprint enabled?

            it didnt work ._. help

            1 Reply Last reply Reply Quote 0
            • Plumer Man
              Plumer Man last edited by

              bfa9245a-d6d2-44a5-8579-18d555e0cdfc-image.png
              23 hours

              23 hours 1 Reply Last reply Reply Quote 0
              • 23 hours
                23 hours @Plumer Man last edited by

                @plumer-man yea i dont code no shit

                M 1 Reply Last reply Reply Quote 1
                • Plumer Man
                  Plumer Man @23 hours last edited by Plumer Man

                  var scriptName = 'ScaffoldHelper'
                  var scriptAuthor = 'As丶One'
                  var scriptVersion = 1.0
                  
                  function ScaffoldAddon() {
                  	var RotationUtils = Java.type('net.ccbluex.liquidbounce.utils.RotationUtils')
                  	var Rotation = Java.type('net.ccbluex.liquidbounce.utils.Rotation')
                  	var Scaffold = moduleManager.getModule('Scaffold')
                  	function isMoving() {
                          return mc.thePlayer.movementInput.moveForward || mc.thePlayer.movementInput.moveStrafe;
                      }
                  	this.getName = function () {
                  		return 'ScaffoldHelper'
                  	}
                  
                  	this.getDescription = function () {
                  		return 'ScaffoldAddon By As丶One'
                  	}
                  
                  	this.getCategory = function () {
                  		return 'Fun'
                  	}
                  	this.onUpdate = function () {
                  
                  		
                  
                  		if(isMoving()){
                  			DiffYaw = 0
                  		if(mc.thePlayer.movementInput.moveForward > 0) DiffYaw = 0
                  			if(mc.thePlayer.movementInput.moveForward < 0) DiffYaw = 90
                  				RotationUtils.setTargetRotation(new Rotation(mc.thePlayer.rotationYaw + DiffYaw, -40))	
                  			}
                  		}
                  	}
                  }
                  
                  var ScaffoldAddon = new ScaffoldAddon()
                  var ScaffoldAddonClient
                  
                  function onEnable() {
                  	ScaffoldAddonClient = moduleManager.registerModule(ScaffoldAddon)
                  }
                  
                  function onDisable() {
                  	moduleManager.unregisterModule(ScaffoldAddonClient)
                  }
                  
                  Just removed the if
                  23 hours 2 Replies Last reply Reply Quote 0
                  • 23 hours
                    23 hours last edited by

                    @bobismymanager i tried that,, it didnt work. even got bullied for it :,(

                    1 Reply Last reply Reply Quote 0
                    • 23 hours
                      23 hours @Plumer Man last edited by

                      @plumer-man thank you :axolove:

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

                        @23-hours said in helpy:

                        @plumer-man yea i dont code no shit

                        You don't even need to know how to code to fix this. It's just plain logical thought.

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

                          @mems i know how to code in scratch, try me mortal

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

                            @23-hours You only had to remove the scaffold state statement and the }.

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

                              @mems well, thanks now i know

                              1 Reply Last reply Reply Quote 0
                              • 23 hours
                                23 hours @Plumer Man last edited by

                                @plumer-man took me only 16 days to try the script and... It doesn't work

                                Plumer Man 2 Replies Last reply Reply Quote 0
                                • Plumer Man
                                  Plumer Man @23 hours last edited by

                                  @23-hours Why tf did it take so long

                                  23 hours 1 Reply Last reply Reply Quote 0
                                  • Plumer Man
                                    Plumer Man @23 hours last edited by

                                    Fixed

                                    var scriptName = 'ScaffoldHelper'
                                    var scriptAuthor = 'As丶One'
                                    var scriptVersion = 1.0
                                    
                                    function ScaffoldAddon() {
                                    	var RotationUtils = Java.type('net.ccbluex.liquidbounce.utils.RotationUtils')
                                    	var Rotation = Java.type('net.ccbluex.liquidbounce.utils.Rotation')
                                    	var Scaffold = moduleManager.getModule('Scaffold')
                                    	function isMoving() {
                                            return mc.thePlayer.movementInput.moveForward || mc.thePlayer.movementInput.moveStrafe;
                                        }
                                    	this.getName = function () {
                                    		return 'ScaffoldHelper'
                                    	}
                                    
                                    	this.getDescription = function () {
                                    		return 'ScaffoldAddon By As丶One'
                                    	}
                                    
                                    	this.getCategory = function () {
                                    		return 'Fun'
                                    	}
                                    	this.onUpdate = function () {
                                    
                                    		
                                    		if(isMoving()){
                                    			Scaffold.getValue('Rotations').set(false)
                                    			DiffYaw = 0
                                    			if(mc.thePlayer.movementInput.moveForward > 0) DiffYaw = 0
                                    			if(mc.thePlayer.movementInput.moveForward < 0) DiffYaw = 90
                                    			RotationUtils.setTargetRotation(new Rotation(mc.thePlayer.rotationYaw + DiffYaw, -40))
                                    			}else{
                                    				Scaffold.getValue('Rotations').set(true)
                                    			}
                                    		}
                                    	}
                                    
                                    var ScaffoldAddon = new ScaffoldAddon()
                                    var ScaffoldAddonClient
                                    
                                    function onEnable() {
                                    	ScaffoldAddonClient = moduleManager.registerModule(ScaffoldAddon)
                                    }
                                    
                                    function onDisable() {
                                    	moduleManager.unregisterModule(ScaffoldAddonClient)
                                    }
                                    
                                    23 hours 1 Reply Last reply Reply Quote 0
                                    • 23 hours
                                      23 hours @Plumer Man last edited by

                                      @plumer-man im just.. really fucking slow yk

                                      1 Reply Last reply Reply Quote 0
                                      • 23 hours
                                        23 hours @Plumer Man last edited by

                                        @plumer-man ty papa plumer ❤

                                        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