Final answer:
The noun clause in the sentence is 'Whatever you say,' and its function is the subject of the sentence.
Step-by-step explanation:
In the sentence, 'Whatever you say could get you into a lot of trouble,' the noun clause is 'Whatever you say.' The function of this noun clause is the subject of the sentence. It is the thing being talked about.