gmod how to make an entity explode

i made a gun that throwing body mod,and i wish when i touch something make the body explode,what function and hook should i use? thank you in advance!

this might help its an exploding melon script thread


You will want to look at the list of effects and choose (Explosion) as the effect to run.

NOTE: This method will create an explosion that does no damage.

thank you for your apply , but there is a different. i need an entity throw out like parabola,and when i touch earth of something ,i need a hook to explode it, i don’t know how to hook it

[editline]30th March 2016[/editline]

i throw the entity out like parabola, how can i hook when it touch earth or something?