Switch scenes on key press

I need help with a script were if I press enter I switch to the next scene

have you tried searching the forum?
One of the first hits is this: How to switch scenes

I did not work out for me.

Hi @Mason_Rocchio! What is your result so far?