Script Type: Local
Location: ReplicatedFirst
local dialog = workspace.Shopkeeper1.Head.Dialog local function shopHandler(plr, choice) print(plr) end dialog.DialogChoiceSelected:Connect(shopHandler)
There is indeed an object named Shopkeeper1 in the workspace (i took a screenshot of the workspace, so here is the screenshot: https://imgur.com/a/mI18yfP )
The object was not created by the Instance.new function.
Any help is greatly appreciated
local dialog = workspace:WaitForChild( "Shopkeeper1" ).Head.Dialog local function shopHandler(plr, choice) print(plr) end dialog.DialogChoiceSelected:Connect(shopHandler)