Try to set a wait(1); before the following:

vec_for_vertex(temp, my, 9107);
kruis1 = ent_create("kruis.mdl",temp,kruis_1);
wait(1);