if (slash && visible) { if (!playerstrike) instance_destroy(); else image_alpha = 0; }