local DT_Slider = Menu.SliderInt("Double Tap", "Speed", 13, 10, 20)
local Max_CMD_Slider = Menu.SliderInt("Double Tap", "Process Ticks", 16, 10, 18)
local Max_CMD = CVar.FindVar("sv_maxusrcmdprocessticks")
local Update = GlobalVars.realtime
local function On_Prediction()
Exploits.OverrideDoubleTapSpeed(DT_Slider:GetInt())
if Update + 1 < GlobalVars.realtime then
Max_CMD:SetString(tostring(Max_CMD_Slider:GetInt()))
Update = GlobalVars.realtime
end
end
local function On_Destroy()
Exploits.OverrideDoubleTapSpeed(13)
Max_CMD:SetString("16")
end
Cheat.RegisterCallback("prediction", On_Prediction)
Cheat.RegisterCallback("destroy", On_Destroy)