Code I have so far:

local time = os.date("!*t")
workspace.Robin.Head.three.DialogChoiceSelected:connect(function(player,choice)
	if choice.Name == "year" then
		choice.ResponseDialog = "The year? Oh, I believe it's"..time.year
	end
	end)

For some reason, no error outputs, and all the dialog says is "..." as if it is left blank. What am I doing wrong?