Hello, I have an issue with the DialogChoiceSelected event. The script is a local script and should fire when I speak to the npc, but it doesn’t fire at all.
local dialog = script.Parent.Dialog
local ss = game.ServerStorage
dialog.DialogChoiceSelected:Connect(function(player,choice)
print(choice.Name)
if choice.Name == "Burger" then
print("Burger selected!")
local burgerClone = ss:WaitForChild("Burger"):Clone()
burgerClone.Parent = player.BackPack
elseif choice.Name == "BloxySoda" then
local sodaClone = ss:WaitForChild("BloxySoda"):Clone()
sodaClone.Parent = player.BackPack
elseif choice.Name == "KickedFromSLF" then
--kick user from SLF
end
end)