Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make a npc gui shop with hotkeys?

Asked by 4 years ago

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/UserInputService voidofdeathfire 148 — 4y

Answer this question