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

How would I find the value of a Key

Asked by
Lineout 10
10 years ago

Like here: http://wiki.roblox.com/index.php/Taking_keyboard_input it shows some keys values, how would I use print to find even more, such as the value of 'a' or '/'

1
Your question is very confusing. Articulating 1335 — 10y
0
I'm sorry, I just updated it. Lineout 10 — 10y

2 answers

Log in to vote
1
Answered by
User#2 0
10 years ago

Use the KeyDown event of a Mouse.

You can get the mouse of a player (on the client) by using the GetMouse method of a player.

The article you supplied (from the wiki) does show you how to compare what was pressed using an if statement, though.

Ad
Log in to vote
-4
Answered by 10 years ago

u mean dis ? http://wiki.roblox.com/index.php/Taking_keyboard_input

0
Well kinda but how do I use print to print out the value of a thing like '/' Lineout 10 — 10y

Answer this question