Code I have so far:

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

I have asked this question before but nobody responded, so, I'm well, asking it again.

Anyways, right now I have this script in a regular script, and no errors are outputted. I have looked up various sources and none have helped whatsoever.

2 comments

0

What's the issue?

0

@killerbrenden The dialog will not show the date, instead it just says 'Oh, I think it's' and nothing else.