--exechack.cc/lua if not MENU_DLL then return end if IsInGame()then Derma_Message("Activate only on main menu","1","1")return end exec_menuaddtab("SLM",function() if exec_cfg_GetValue("SLOWMODE_ENABLED")==nil then exec_cfg_SetValue("SLOWMODE_ENABLED",false) exec_cfg_SetValue("SLOWMODE_KEYS",0) exec_cfg_SetValue("SLOWMODE_TIME",0.2) end exec_menuaddcheckbox("Enabled",15,15,"SLOWMODE_ENABLED") exec_menuaddbinder("Key",15,45,"SLOWMODE_KEYS") exec_menuaddslider("Time",15,110,0.01,0.7,"SLOWMODE_TIME") if not file.Exists("lua/bin/gmcl_cvarsx_win64.dll","GAME")then exec_menuaddlabel("Download dll and drop to steam/steamapps/common/GarrysMod/garrysmod/lua/bin",15,200,15,500,25) exec_menuaddbutton("Copy Link",15,230,function() SetClipboardText("https://disk.yandex.ru/d/wttNtaPjouaG3w") end) end end) exec_addclientcodetoautorun("Slowmode",[[ local b require("cvarsx") cvars.Get("sv_cheats"):SetValue(1) local function btcheck(d) if input.IsMouseDown(d)or input.IsKeyDown(d)then return true end return false end hook.Add("Think","slow",function() if not exechack_api.cfg_GetValue("SLOWMODE_ENABLED")then return end if btcheck(exechack_api.cfg_GetValue("SLOWMODE_KEYS"))then cvars.Get("sv_cheats"):SetValue(1) cvars.Get("host_timescale"):SetValue(exechack_api.cfg_GetValue("SLOWMODE_TIME")) else cvars.Get("host_timescale"):SetValue(1) cvars.Get("sv_cheats"):SetValue(0) end end) ]])