08-07-2011, 11:38 PM
It would be something like
[lua]
function keypressed(key)
if key == string.char(019) then
--dostuff
end end
link(script.Parent.KeyDown, keypressed)
[/lua]
But I've had issues with byte codes not working...
Personally, I think that using WASD would be easier than trying to use the arrow keys.
[lua]
function keypressed(key)
if key == string.char(019) then
--dostuff
end end
link(script.Parent.KeyDown, keypressed)
[/lua]
But I've had issues with byte codes not working...
Personally, I think that using WASD would be easier than trying to use the arrow keys.