Upgrading Old Networking Scripts

Hello,

I have decided to revisit some of my old Collège projects. I haven’t actually coded anything of much substance in Unity in several year, mostly because of work and general life issues. The project I ended up loading was of course super old and I had to open the Editor in Safe Mode to fix some compile errors. Lucky for me there were only 3 errors, however they happen to be related to old networking code that has apparently been replaced. I suck at reading technical documentation, and while Unity provides great detail on what the new stuff does, it doesn’t translate very well in my head to what it is I need to replace and with what. Here is the code I currently have, any help with what needs to be replaced would be appreciated.

using UnityEngine;
using System.Collections;

public class Move : MonoBehaviour {
     Vector3 velocity;
     int speed;
     string playerClone;
     GameObject Player;
     Transform avatar0;
     public int health;

	// Use this for initialization
	void Start () 
     {
          speed = 3;
          health = 100;
	}
	
	// Update is called once per frame
	void Update () 
     {
          if (health <= 0)
          {
               die();
          }
          if (Input.GetKey("up"))
          {
               velocity = Vector3.forward * speed;
               transform.Translate(velocity * Time.deltaTime);
          }

          if (Input.GetKey("down"))
          {
               velocity = Vector3.back * speed;
               transform.Translate(velocity * Time.deltaTime);
          }
          if (Input.GetKey("left"))
          {

               transform.Rotate(0, -2, 0);
          }

          if (Input.GetKey("right"))
          {
               transform.Rotate(0, 2, 0);
          }
	}

     void OnLoaded()
     {

          Network.Instantiate(avatar0, transform.position, transform.rotation, 0);
          playerClone = "Player(Clone)";

          Player = GameObject.Find(playerClone);
     }

     void OnPlayerDisconnected (NetworkPlayer player)
     {
          Move.Instantiate(Player);
          Network.DestroyPlayerObjects(player);
     }

     void die()
     {
          Destroy(this.gameObject);
     }
}

So it would appear that the answer to my question is “this script can’t be updated, you will need to write a new one”. It’s sad I had to get that answer from another forum, but I suppose for all the pros out there my question just wasn’t worth the time it takes to type an answer.