yeah ill give you one here is the code:
Code:
local KeyPadLog = false
hook.Add("Think", "KeyPadLog", function()
if KeyPadLog then
if (input.IsKeyDown( KEY_SPACE ) ) then
if LocalPlayer():IsOnGround() then
RunConsoleCommand("+jump")
HasJumped = 1
else
RunConsoleCommand("-jump")
HasJumped = 0
end
elseif KeyPadLog and LocalPlayer():IsOnGround() then
if HasJumped == 1 then
RunConsoleCommand("-jump")
HasJumped = 0
end
end
end
end)
concommand.Add("KeyPadLog_toggle", function()
if KeyPadLog then
KeyPadLog = !KeyPadLog
LocalPlayer():ChatPrint("KeyPadLog turned OFF")
else
KeyPadLog = !KeyPadLog
LocalPlayer():ChatPrint("KeyPadLog turned ON")
end
end)
put this code into a .txt file then name it hack.txt change .txt to hack.lua then put it in your garrysmod/lua then do lua_openscript_cl hack.lua
after you ran a sv_allowcslua bypass of course
Once your hack is loaded type "KeyPadLog_toggle" into console