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

How do I make a shop GUI appear after talking to an NPC?

Asked by 9 years ago

So a basic conversation with the NPC would look like this:

NPC - What can I do for you? You - I'd like to see your wares, please. NPC - Certainly. --- this is where GUI would appear.

Anyone know how to make this possible?

0
Wiki.roblox.com EmergencyAlt2 50 — 9y
0
I spent awhile trying to figure this out and didn't have success. Most people put a invisible pad in front of the NPC so you'll stop on the pad and it will make your Shop Visible. Here are some things you may want to know that might help you. When you use Dialog choice in a game and open it, a script will appear when you click something, it will be called ReenableDialogScript. I tried using a Wait alphawolvess 1784 — 9y
0
... I tried using a WaitForChild("ReenableDialogScript") part in multiple ways yet no go. So maybe you can use this information and get it to work or figure something out. Sorry, best of luck! alphawolvess 1784 — 9y
0
There is an event called the 'DialogChoiceSelected', which will fire when a certain Dialog is clicked on. [http://wiki.roblox.com/index.php?title=Dialog_Shop_Tutorial] TheeDeathCaster 2368 — 9y

Answer this question