I have this script but wont register the enter key being pressed
if key == string.char(13) then
print("Enter Pressed")
end
PLEASE HELP!!!
I have this script but wont register the enter key being pressed
if key == string.char(13) then
print("Enter Pressed")
end
PLEASE HELP!!!
This discussion is preserved as it was. New answers, comments, and votes are closed.
4 comments
There is significant context that is necessary to make this work. Can you please provide the context of this excerpt of Lua?
um......... I dont know what that means...
He means show us the surrounding code, like the function that this is inside of and how it is connected and to what events, etc...
Still dont understand