// Use this for initialization void Start() { player = GameObject.FindGameObjectWithTag("Player"); partdel = player.GetComponent <Addpart>(); }
// Use this for initialization void Start() { player = GameObject.FindGameObjectWithTag("Player"); destroy = player.GetComponent <Addpart>(); hp = player.GetComponent <hpsripty>(); }