@name Were's Flashbang
@inputs 
@outputs 
@persist E:entity G
@trigger 
@model models/weapons/w_eq_flashbang.mdl

if(first()){
    E = entity()
    E:propFreeze(0)
}
interval(1)
G = E:pos():z()
F = floor(G)
print(_HUD_PRINTCENTER,F:toString())
if(G<10){
    if(changed(G)){
        if(changed(F)){
            if(F<5){
                soundPitch(1,randint(1,100))
soundPlay(1,1000,"weapons/flashbang/grenade_hit1.wav")
    
}
}
}
}
