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!
0
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/UserInputServicevoidofdeathfire148— 4y