Hello, all.
I’m new on scripting and i have a problem with a destroy script.
It’s quite easy (i gues) but it gives this error message: Can’t add script. Script Destroyer had not finished compilation yet.
Please wait until compilation of the script has finished and try again.
this is the script;
function Update () {
Destroy(gameObject.Find(“Cube”), 3);
}
Ty for helping me.