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!

2 comments

0

script please?

0

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"