-- Close win dialog

local function closeDlg(input)
	local mouse = Enum.UserInputType.MouseButton1
	local touch = Enum.UserInputType.Touch
	
	if input.UserInputType == mouse or input.UserInputType == touch then
		dlg.Visible = false
	end
end -- closeDlg()