I just give you a tip:
Try to use ent_remove(); not in a while-loop, for example like this:

Code:
 
function blabla()
{
	...
	while(my.skill1 > 0)
	{
		my.skill1 -= 10 * time_step;
		wait(1);
	}
	ent_remove(my);
}



Everything is possible, just Do it!