local Dialog = script.Parent

  

Dialog.DialogChoiceSelected:Connect(function(Player, Choice)

print(Player,Choice.Name)

end)

This is a normal script that is a child of dialog.

There are no errors and it doesn't print "Player" or "Choice.Name"

I've tried using a local script also, but it didn't work either.