oke i will give it a go
var offon;
function solid_rock
{
var ent1;
ent1 = my.skill1;
while(my!=null)
{
you = ent1;
if((vec_dist(my.x,you.x))<=100)
{offon = 1;}
wait(1);
}
}
function create_stuff
{
var tempa;
var tempb;
tempa = ent_create(source_mdl,nullvector,solid_rock);
tempb = ent_create(source_mdl,nullvector,solid_rock);
you = tempa;
you.skill1 = tempb;
you = tempb;
you.skill1 = tempb;
}
didnt test it but it would look like this