If this template helps then use it. If not then just delete and start from scratch.
OS (e.g. Win10): Win 10
PsychoPy version (e.g. 1.84.x): v2020.1.3
Hi. I put an informed consent as a text at the beginning of my experiment and ask participants to click: “I consent, begin the study” or “I do not consent, I do not wish to participate” by the mouse. I want to write code if participants select the second option, a message like “Thank you” shows and the experiment end. I tried this code in the end experiment but it does not work.
msg = ‘Thank you’
I would be appreciated if you can help me with it.