--by exechack.cc local keybinds = { ["Aimbot"]={ck="AIM_ENABLED",bt="AIM_KEY"}, ["AutoPistol"]={ck="MISC_AUTOPISTOL",bt="MISC_AUTOPISTOL"}, ["Debug Camera"]={ck="WH_DEBUGCAMERA_ENABLED",bt="WH_DEBUGCAMERA_KEY"}, ["Third Person"]={ck="WH_THIRDPERSON_ENABLED",bt="WH_THIRDPERSON_KEY"}, ["Panic Key"]={ck="PANICKEY",bt="PANICKEY"}, ["Trigger Bot"]={ck="TRIGGERBOT_ENABLED",bt="TRIGGERBOT_KEY"}, ["Fake Duck"]={ck="BSENDPACKETS_FAKEDUCK",bt="BSENDPACKETS_FAKEDUCK_KEY"}, ["Add Entity"]={ck="MISC_ADDENTITYFRIEND",bt="MISC_ADDENTITYFRIEND"}, ["FullBright"]={ck="FBKEY",bt="FBKEY"} } local sohw={} local colorax = {Color(255,255,255),Color(40,40,40)} CreateClientConVar("keybindsx_x", 10, true, false) CreateClientConVar("keybindsx_y", 10, true, false) CreateClientConVar("keybindsx_xx", 200, true, false) CreateClientConVar("keybindsx_yy", 200, true, false) local function update() if dfdfsframe and dfdfsframe:IsValid()then local x,y = dfdfsframe:GetPos() RunConsoleCommand("keybindsx_x",x) RunConsoleCommand("keybindsx_y",y) local x,y = dfdfsframe:GetSize() RunConsoleCommand("keybindsx_xx",x) RunConsoleCommand("keybindsx_yy",y) colorax = {exechack_api.cfg_GetValue("STYLESX_TEXT"), exechack_api.cfg_GetValue("STYLESX_WINDOWBG")} sohw={} for d,v in next,keybinds do local bind = exechack_api.cfg_GetValue(v.ck) if bind and bind~=0 then sohw[d]=exechack_api.cfg_GetValue(v.bt) end end end end update() timer.Create("obkakkeybdsa", 2, 0, update) dfdfsframe = vgui.Create("DFrame") dfdfsframe:SetSize(GetConVar("keybindsx_xx"):GetFloat(),GetConVar("keybindsx_yy"):GetFloat()) dfdfsframe:SetPos(GetConVar("keybindsx_x"):GetFloat(),GetConVar("keybindsx_y"):GetFloat()) dfdfsframe:SetSizable(true) dfdfsframe:SetTitle("") dfdfsframe.Paint = function(_,w,h) draw.RoundedBox(6,0,0,w,h,colorax[2]) draw.SimpleText("Key Binds","HudHintTextLarge",5,4,colorax[1]) local pos = 30 for d,v in next,sohw do if d and v then draw.SimpleText(d,"HudHintTextLarge",5,pos,colorax[1]) if input.IsButtonDown(sohw[d])or input.IsMouseDown(sohw[d])then draw.SimpleText(input.GetKeyName(v),"HudHintTextLarge",130,pos,Color(124,252,0)) else draw.SimpleText(input.GetKeyName(v),"HudHintTextLarge",130,pos,colorax[1]) end pos = pos + 20 end end end