@name BastketBall ammut
@inputs 
@outputs 
@persist E:entity O:entity Scale GG HH:entity HHH DIFFICULTY J
@model models/props_forest/basketball_hoop.mdl
runOnTick(1)
E=entity()
if(first()){
    GG = 0
    O = findPlayerByName("cenn")
    G = propSpawn("models/props_phx/misc/soccerball.mdl",entity():pos(),0)
    G:setMass(200)
    #DIFFICULTY IS 1,2, OR 3
    #1=EASY,2=MEDIUM,3=HARD
    DIFFICULTY = 1
    #concmd("say Hello, "  + O:name() + "! " + "To begin, type !1, !2, or !3 to Choose difficulty")
    HH=propSpawn("models/props_c17/pulleywheels_small01.mdl",E:pos() + vec(45,0,-10),1)
HH:setAlpha(0)
 #   HH:propNotSolid(1)
    HH:parentTo(E)
        HH:setAng(ang(0,0,0))
H=100
    HHH =0
    E:setPos(E:pos() + vec(0,0,H))
    holoCreate(100,E:toWorld(vec(0,0,-100)),vec(1,1,1),E:toWorld(ang(0,90,90)))
    holoAlpha(100,0)
    holoParent(100,E)
    Scale = 20
    G:setMaterial("sprops/textures/sprops_chrome")
    G:setColor(vec4(255,157,0,255))
    
    J = 0
    
    
}





    if(DIFFICULTY==1){
        H = 100
    }
     if(DIFFICULTY==2){
       H = 200
    }
     if(DIFFICULTY==3){
      H =  400
    }
E:setAng((E:pos()-O:pos()):toAngle():setPitch(0)+ang(0,180,0))
findExcludeClass("*")
findIncludeModel("models/props_phx/misc/soccerball.mdl")
findInSphere(HH:pos(),Scale)


if(changed(find())&find()){
    HHH++
}
 if(HHH>1){
    GG++
HHH=0}







