Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

only being able to bind one 1 keybind at once?

Asked by 8 years ago

game.ContextActionService:BindAction("keyPress", select false, Enum.KeyCode.Q) game.ContextActionService:BindAction("keyPress", toggle, false, Enum.KeyCode.E)

when ever i run this only e is working its like it overrights the other keybind

1 answer

Log in to vote
1
Answered by
Uglypoe 557 Donator Moderation Voter
8 years ago

If you look at the keybinding for the letter "Q", notice how it requires 4 parameters but you only supplied three, as you forgot a comma after the word "select"! Make sure you don't forget those essential characters!

Ad

Answer this question