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

Why is my npc shop script not working with DialogChoiceSelected ?

Asked by 4 years ago

Hello everyone, I'm trying to make a npc shop but nothing's happening.

script.Parent.Shop.DialogChoiceSelected:connect(function(plr,dialog)
    if dialog.Name == script.Parent.Shop.ShopDialog1 then
        print("1")
    end
end)

Can you help me, please ?

Answer this question