。
Don't say weird stuff.
Literal
Weird things say [negative imperative-な] [assertion-よ].
変なこと is 'weird things/stuff.' 言うな is the negative imperative — 言う + な ('don't say'). The よ at the end softens the prohibition slightly, turning it from a pure command into a chiding remark between familiar speakers.