They will spit at you first then attack

More Dilophosaur Encountering Tips