Button to change the gender in my stats.gd

We cannot help you because we cannot see your project, know what your code looks like, what your scene tree looks like etc…
Please check this thread first: