@@ -44,6 +44,7 @@ local mSensetivity = menu:AddComponent(MenuLib.Slider("Charge Sensetivity",1 ,5
44
44
-- local mAutoMelee = menu:AddComponent(MenuLib.Checkbox("Auto Melee", true, ItemFlags.FullWidth))
45
45
local mFov = menu :AddComponent (MenuLib .Slider (" Aimbot FOV" ,10 ,360 ,360 ))
46
46
local mAutoRefill = menu :AddComponent (MenuLib .Checkbox (" Crit Refill" , true ))
47
+ local AutoFakelat = menu :AddComponent (MenuLib .Checkbox (" Adaptive Latency" , true , ItemFlags .FullWidth ))
47
48
local AchargeRange = menu :AddComponent (MenuLib .Checkbox (" Charge Reach" , true , ItemFlags .FullWidth ))
48
49
local mAutoGarden = menu :AddComponent (MenuLib .Checkbox (" Troldier assist" , false ))
49
50
local mmVisuals = menu :AddComponent (MenuLib .Checkbox (" Enable Visuals" , false ))
@@ -78,6 +79,7 @@ local Safe_Strafe = false
78
79
local can_charge = false
79
80
local Charge_Range = 128
80
81
local swingRangeMultiplier = 1
82
+ local defFakeLatency = gui .GetValue (" Fake Latency Value (MS)" )
81
83
82
84
local pLocalClass = nil
83
85
local pLocalFuture = nil
@@ -367,7 +369,7 @@ local function OnCreateMove(pCmd)
367
369
local pWeaponName = pWeaponDef :GetName ()
368
370
369
371
-- get maximum swing range
370
- swingrange = (pWeapon :GetSwingRange () + ((swingRangeMultiplier * 35.9 ) / 2 ))
372
+ swingrange = (pWeapon :GetSwingRange () + ((swingRangeMultiplier * 35.7 ) / 2 ))
371
373
372
374
-- maximum swign range physicly possible VV
373
375
-- swingrange = (swingRangeMultiplier * pWeapon:GetSwingRange() + (math.sqrt(36^2 / 2)))
@@ -562,7 +564,33 @@ local collision = false
562
564
end
563
565
end
564
566
end
565
-
567
+
568
+ -- Initialize the temporary fake latency value
569
+ if gui .GetValue (" Fake Latency Value (MS)" ) ~= 200 then
570
+ defFakeLatency = gui .GetValue (" Fake Latency Value (MS)" )
571
+ end
572
+
573
+ -- Check if AutoFakelat is enabled
574
+ if AutoFakelat :GetValue () then
575
+ -- Check if there is a collision
576
+ if collision then
577
+ -- Check if the global fake latency value is not already 200 and is greater than or equal to 200
578
+ if defFakeLatency ~= 200 then
579
+ -- Set the fake latency value to 200
580
+ gui .SetValue (" Fake Latency Value (MS)" , 200 )
581
+ end
582
+ elseif not collision then
583
+ -- Check if the fake latency value is already 200
584
+ if gui .GetValue (" Fake Latency Value (MS)" ) == 200 then
585
+ -- Set the fake latency value to the global fake latency value
586
+ gui .SetValue (" Fake Latency Value (MS)" , defFakeLatency )
587
+
588
+ end
589
+ end
590
+ end
591
+
592
+
593
+
566
594
567
595
568
596
-- [--------------AimBot-------------------] --get hitbox of ennmy pelwis(jittery but works)
@@ -617,11 +645,11 @@ local collision = false
617
645
-- Calculate the source and destination vectors
618
646
ChargeControll (pCmd )
619
647
end
620
- aimposVis = aimpos -- transfer aim point to visuals
648
+
621
649
-- [shield bashing strat]
622
650
623
651
if pLocalClass == 4 and (pLocal :InCond (17 )) then -- If we are charging (17 is TF_COND_SHIELD_CHARGE)
624
- local Bashed = checkCollision (vPlayerFuture , pLocalOrigin , 18 )
652
+ local Bashed = checkCollision (vPlayerOrigin , pLocalOrigin , 20 )
625
653
626
654
if not Bashed then -- if demoknight bashed on enemy
627
655
can_attack = false
0 commit comments