I guess your code in script 1 is wrong. Are both scripts attached to your gameobject "projectileTransform"? If so, I would write it like this.
`ProjectileMoveScript testS = projectileTransform.GetComponent();`
IF they are not attached to the same gameobject:
ProjectileMoveScript testS = GameObject.Find("projectileTransform").GetComponent();
↧