I've been using a shift to sprint script, and all of a sudden it doesn't work...I finally noticed that its sprinting on caps lock
lol
SprintKey = string.char("0")
I looked at this page for the Key Inputs
http://wiki.roblox.com/index.php?title=Taking_keyboard_input
I tested it in a Hopperbin. The link you give actually gives you the answer in a table (see "Full List"), though its values weren't 100% accurate for me. For left shift, you want to compare it to string.char(48)
You can test it out yourself by using this script (modified from the link for a hopperbin):
local tool = script.Parent tool.Selected:connect(function(mouse) mouse.KeyDown:connect(function(key) print(key,"pressed, byte:", string.byte(key)) end) end)
Locked by BSIncorporated, chess123mate, woodengop, and Redbullusa
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?