Error CS1525: Unexpected symbol 'void'

I can’t seem to find the problem in my script. I’m trying to make a simple ping game, i’m only a beginner and I hate to say every time I fix a problem in my script(C#) a new one pops up. So I think it’s time I admit defeat and ask for help. I’ve narrowed it down to one problem and it’s this.86965-screen-shot-2017-01-29-at-51343-pm.png

Could anybody help me out? Here’s what my script looks like.86967-screen-shot-2017-01-29-at-51856-pm.png

Thank you!

Seems this one is all about the braces.

Remove } on line 10, add } at line 16, add { to end of line 20, on line 21 replace last character ( with {, insert } between 23 and 24. Finally add } on line 25.

Also line 22 replace last ) with ;

That should compile at first glance.