The name "Destory" Does not exist in the current context

Hey, so I am trying ot make a woodcutting script and I have this script but when I try and fix it it comes up with The name “Destory” Does not exist in the current context. Can anyone help me?

Code:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class TreeHealth : MonoBehaviour {

	public int health = 100;

	private void Update()
	{
		if (health <= 0)
		{
			Destory(gameObject);
		}
	}

}

you have to use Destroy(gameObject); not Destory…

:wink:

Either you have a typo or you are not in the right namespace. If the latter is the case, try putting
using UnityEngine
in front of your class