|
320 | 320 | initModule({ location: tp.aimbotFolder, title: "1 Kill", storeAs: "oneKill", bindLocation: tp.combatTab.pages[1],}); |
321 | 321 | initModule({ location: tp.aimbotFolder, title: "LineOfSight", storeAs: "lineOfSight", bindLocation: tp.combatTab.pages[1],}); |
322 | 322 | tp.aimbotFolder.addSeparator(); |
323 | | - initModule({ location: tp.aimbotFolder, title: "MaxAngle", storeAs: "aimbotMaxAngle", bindLocation: tp.combatTab.pages[1], slider: {min: 0, max: Math.PI*2, step: 0.05}, defaultValue: Math.PI*2,}); |
| 323 | + initModule({ location: tp.aimbotFolder, title: "MinAngle", storeAs: "aimbotMinAngle", bindLocation: tp.combatTab.pages[1], slider: {min: 0, max: Math.PI*2, step: 0.05}, defaultValue: Math.PI*2,}); |
324 | 324 | initModule({ location: tp.aimbotFolder, title: "AntiSnap", storeAs: "aimbotAntiSnap", bindLocation: tp.combatTab.pages[1], slider: {min: 0, max: 0.99, step: 0.01}, defaultValue: 0,}); |
325 | 325 | initModule({ location: tp.aimbotFolder, title: "AntiSneak", storeAs: "antiSneak", bindLocation: tp.combatTab.pages[1], slider: {min: 0, max: 5, step: 0.2}, defaultValue: 0,}); |
326 | 326 | tp.aimbotFolder.addSeparator(); |
|
2228 | 2228 | if (extract("aimbot") && (extract("aimbotRightClick") ? isRightButtonDown : true) && ss.MYPLAYER.playing) { |
2229 | 2229 | if ( currentlyTargeting && currentlyTargeting.playing ) { //found a target |
2230 | 2230 | didAimbot=true |
2231 | | - if ((!extract("silentAimbot")) && (targetingComplete||(extract("aimbotMaxAngle")>currentlyTargeting?.angleDiff))) { |
| 2231 | + if ((!extract("silentAimbot")) && (targetingComplete||(extract("aimbotMinAngle")>currentlyTargeting?.angleDiff))) { |
2232 | 2232 | const distanceBetweenPlayers = distancePlayers(ss,currentlyTargeting); |
2233 | 2233 |
|
2234 | 2234 | const aimbot=getAimbot(ss,currentlyTargeting); |
|
0 commit comments