Hi! So I was wondering how I can make an NPC shop. I want it so when you are close to the NPC there is a button on screen that says for example: Press E to talk to Arc. When you press E a gui opens up with a shop menu Thank you in advance!
COMMUNITY QUESTION
How to make a npc gui shop with hotkeys?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
UserInputService. You can use that to detect keys. If you want to figure out when to show the gui use magnitude. https://developer.roblox.com/en-us/articles/Magnitude ||| https://developer.roblox.com/en-us/api-reference/class/UserInputService