@name Jihad 
@inputs 
@persist Prop:entity Prop2:entity Prop3:entity Prop4:entity Name:string
@model models/hunter/plates/plate.mdl
if(first()){
    entity():propNotSolid(1)
    entity():setAlpha(0)
    holoCreate(1)
}   #Bomb
    holoPos(1, owner():weapon():pos()+vec(0,10,50))
    holoAng(1, ang(90,90,90))
    holoParent(1,owner())
    holoScale(1, vec(0.5,0.5,0.5))
    holoMaterial(1,"phoenix_storms/black_chrome" )
    
interval(10)
#Variables
P = owner()
E = entity()
A = changed(P:keyAttack2())& P:keyAttack2()
B = changed(P:keyReload())& P:keyReload()
#Sounds
if(B){
    P:soundPlay(0,0, "vo/npc/male01/overhere01.wav")
}
if(A)
    {
        P:soundPlay(0,0, "siege/jihad.wav")
        timer("explode",2000)
    } 
    #Explode

        if(clk("explode"))
        {
       # Prop = propSpawn("models/props_phx/torpedo.mdl", P:pos()+(vec(0,0,6)), P:eyeAngles(), 0)
       # Prop2 = propSpawn("models/props_phx/torpedo.mdl", P:pos()+(vec(0,0,6)), P:eyeAngles(), 0)
      #  Prop:propBreak()
      #  Prop3 = propSpawn("models/props_phx/torpedo.mdl", P:pos()+(vec(0,0,6)), P:eyeAngles(), 0)
       # Prop2:propBreak()
      #  Prop4 = propSpawn("models/props_phx/torpedo.mdl", P:pos()+(vec(0,0,6)), P:eyeAngles(), 0)
     #   Prop3:propBreak()
       # Prop4:propBreak()
    Prop = propSpawn("explosivemodelpath",P:pos()+(vec(0,0,6)), P:eyeAngles(), 0)
Prop:propBreak()
        concmd("explode")
#####
interval(100)
      findByClass("player")
             findClipToSphere(entity():pos(),79)
        findSortByDistance(entity():pos())
        Tmp = findToArray()
    
   if( Tmp[1,entity]:isPlayer() )
    {
   Pos=Tmp[1,entity]:pos()}
explosion(Pos,100)#
#REmove the # and ]

######
        selfDestruct()
    }
 

