SyntaxError: 'await' error

I’m a bit of a beginner to VEXcode VR, but I’ve been running into an error with an error that I can’t seem to figure out.


I saw someone having the same error, but the solution did not fix the issue for me.
Any help would be appreciated.
(Note: I did have the code in the lower if/else statement indented properly, I was just experimenting trying to find a solution)