input.IsKeyDown only for specific types Movement.

snip.

Hey man this dosn’t solve your question but you should consider using switch statements instead of using a gazzillion ors.

Check out this guide to help you understand switch statements.

Lmao that spaghetti code.

[lua]-- Lets use a loop for all those keys for fucks sake
local alphabetKeys = {
IN_FORWARD,
IN_MOVELEFT,
IN_MOVERIGHT,
IN_BACK
}

– This code is ran whenever a player presses a key
hook.Add(“KeyPress”, “bhopStuff”, function(ply, key)
for i = 1, #alphabetKeys do
if key == alphabetKeys* – If the key is in the table above then print that stuff
chat.AddText(color_white, “I am using the alphabet to bhop”)
end
end
end
[/lua]

[editline]22nd October 2015[/editline]

I tweaked what you gave me and made it work thanks man