I am trying to make a "Press E To Chat With NPC", and it was going well. But whenever i try to use Enum.KeyCode.E it never works. I haven't found a way around it so far and was wondering if anyone knew how to fix it or work around it. Thanks!
COMMUNITY QUESTION
How come my Enum.KeyCode.E says its an invalid EnumItem? EDIT: It works
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
script please?
I found out what happened : i used "if input.KeyCode.E then" but the one that works is " if inputObject.KeyCode == Enum.KeyCode.E then"