You didn’t fix all the errors.
Lines 11, 15, 19 and 23 all have errors on them.
Remove the period after void before OnGUI and replace the opening “(” at the end of each of the lines I mentioned with a {
Edit:
From your new picture it seems you still have to fix the error on line 15.
Replace the ( with a {
Remember, when defining a method/class always use “curly brackets”
this declares a function
void is used to declare the type of function
the ‘.’ is used to call properties and methods that an object has access to.
eg.
PhotonNetwork.Instantiate
// PhotonNetwork is an object
// Instantiate() is a method the above object has access to and thus can call
if what I told you is brand new to you, I would suggest going through unity’s tutorial series on scripting in C#
I understand the urge to want to get straight to work, but taking the time to study the language will save a lot of time and frustration.
Yeah thanks fixed it, but now when im joining a game with my friend we can’t see each other and we’re getting under the platform/terrain
If you can help that would be really great