@@ -49,6 +49,8 @@ object InventoryMove : Module(
4949 description = " Allows you to move with GUIs opened" ,
5050 tag = ModuleTag .PLAYER ,
5151) {
52+ private val clickGui by setting(" ClickGui" , false )
53+ private val disableSneak by setting(" Disable Crouch" , false )
5254 private val arrowKeys by setting(" Arrow Keys" , false , " Allows rotating the players camera using the arrow keys" )
5355 private val speed by setting(" Rotation Speed" , 5 , 1 .. 20 , 1 , unit = " °/tick" ) { arrowKeys }
5456 override val rotationConfig = RotationConfig .Instant (RotationMode .Lock )
@@ -65,7 +67,7 @@ object InventoryMove : Module(
6567 this is AbstractSignEditScreen ||
6668 this is AnvilScreen ||
6769 this is AbstractCommandBlockScreen ||
68- this is LambdaScreen ||
70+ ( this is LambdaScreen && ! clickGui) ||
6971 this is BookEditScreen ||
7072 this == null
7173
@@ -93,8 +95,8 @@ object InventoryMove : Module(
9395 options.leftKey.boundKey.code,
9496 options.rightKey.boundKey.code,
9597 options.jumpKey.boundKey.code,
96- options.sprintKey.boundKey.code,
97- options.sneakKey.boundKey.code -> true
98+ options.sprintKey.boundKey.code -> true
99+ options.sneakKey.boundKey.code if ( ! disableSneak) -> true
98100 else -> false
99101 }
100102 }
0 commit comments