if you use if(vec_dist(my.x,player.x) <= 200) && (vec_to_screen(me,camera) ==1)
this one if(my.clipped != on && vec_dist(my.x,player.x) <= 200 && vec_to_screen(me,camera) ==1) is useless... specialy clipped becouse if(vec_to_screen) = if visible try just to copy/pste my code and we'll see what will happend