@@ -21,12 +21,13 @@ menu.Style.Outline = true -- Outline around the menu
21
21
client.SetConVar("mp_disable_respawn_times", 1)
22
22
client.SetConVar("mp_respawnwavetime", -1)
23
23
end, ItemFlags.FullWidth))]]
24
- local debug = menu : AddComponent ( MenuLib . Checkbox ( " indicator " , false ))
24
+
25
25
local Swingpred = menu :AddComponent (MenuLib .Checkbox (" Enable" , true ))
26
- local mAutoRefill = menu :AddComponent (MenuLib .Checkbox (" Auto Crit Refill" , true ))
26
+ local debug = menu :AddComponent (MenuLib .Checkbox (" visuals" , false ))
27
+ local mAutoRefill = menu :AddComponent (MenuLib .Checkbox (" Crit Refill" , true ))
27
28
local mKillaura = menu :AddComponent (MenuLib .Checkbox (" Killaura (soon)" , false ))
28
- local mtime = menu :AddComponent (MenuLib .Slider (" movement ahead " , 100 ,300 , 250 ))
29
- local msamples = menu : AddComponent ( MenuLib . Slider ( " Velocity Samples " , 1 , 777 , 132 ))
29
+ local mtime = menu :AddComponent (MenuLib .Slider (" attack distance " , 150 ,300 , 250 ))
30
+
30
31
local solution = {
31
32
" default" ,
32
33
" strafe pred"
@@ -36,7 +37,7 @@ local msolution = menu:AddComponent(MenuLib.Combo("Prediction Solution", solutio
36
37
-- solution:GetSelectedIndex() -- Selected item index (number)
37
38
38
39
-- amples = menu:AddComponent(MenuLib.Slider("movement ahead", 1 ,25 , 200 ))
39
-
40
+ local msamples = 132
40
41
local pastPredictions = {}
41
42
local hitbox_min = Vector3 (14 , 14 , 0 )
42
43
local hitbox_max = Vector3 (- 14 , - 14 , 85 )
@@ -253,7 +254,6 @@ if not isMelee then return end
253
254
vPlayerFuture = (vPlayerOrigin + closestPlayer :EstimateAbsVelocity () * time )-- TargetPositionPrediction(vPlayerOrigin, vPlayerOriginLast, tickRate, time, tick)
254
255
pLocalFuture = (pLocalOrigin + pLocal :EstimateAbsVelocity () * time ) -- TargetPositionPrediction(pLocalOrigin, pLocalOriginLast, tickRate, time, tick)
255
256
else
256
- print (" working" )
257
257
if tick % 8 == 0 or tick == nil then
258
258
tick = 0
259
259
end
0 commit comments