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

How would you make it so when you press 2 keys, it does a function?

Asked by 4 years ago

I know how to do this with one key, but how would you go about doing it with 2 keys?

0
Simple do the same but use the `and` function. Rynappel 212 — 4y
0
The way I would do it is create a table, and enter values as inputs begin, and remove values as inputs end, then you have the combination of keys that they pressed, in chronological order. You can then use this table to figure out whether or not the key combination they pressed is correct. Unhumanly 152 — 4y
0
In response to the first comment, that solution would not work, because the table it returns is sorted alphabetically, not chronologically. At least that's what I think the OP wants, a key combination. Unhumanly 152 — 4y

Answer this question