if owner != noone { x = owner.x + x_offset; y = owner.y + y_offset; } if hitbox_type != "COLLISION" { duration--; if duration < 0 instance_destroy(); }