thanks the invisible worked when I jump on the snakes head it disappears

the other one didnt I couldnt get the body to turn into the snake splashed.
This is what I implemented.
Like the function you gave me I did another one but with the morphing
function turntoenemysplash
{
ent_morph(snakebody,"enemysplashed.mdl");
wait(1);
}
then in the snakehead action I put this
while (1)
{
my.enable_entity=on;
my.enable_impact=on;
MY.EVENT=headhit;
My.event=turntoenemysplash;
break;
when I did this it gave me an error
Parameter unknown snakebody KEYWORD
I also tried adding the mdl like this snakebody.mdl to the function but still no good.
I have a model snakebody and an action snakebody so I don't understand why it didnt detect it.
Do you know how to do that that when you touch one model another model morphs into something else is it possible to do this on gamestudio?
I want to do that when I touch the snakehead.mdl the snakebody.mdl turns unto snakesplashed.mdl.
I already got the head sdisappearing but not the morphing body :\ I will keep trying.
everything works perfectly except the snakebody turning, in the game the snakebody and head come at me at same speed so it looks like one snake is coming at me and when I jump and hit him on the head the head disappear but the body is still there and moving forward.