I'm trying to make a basic gun dealer but I can't seem to get any dialogue script to work.
Heres a picture: https://gyazo.com/ada4ed6a51afcaf257c46fac6fddb786
I used the basic example on the wiki and it didn't work.
Here is the script in the script and local script:
script.Parent.DialogChoiceSelected:connect(function(player,choice) print(player.Name,choice.Name) end)
It returns nothing when I select dialog. No errors, nothing.
Make sure that the script is inside a local script somewhere a localscript can run such as the StarterGui
The wiki page for DialogChoiceSelected says that:
This event is client-side only and will not fire on the server. It should be connected to in either a LocalScript or a ModuleScript required by a LocalScript.